summaryrefslogtreecommitdiff
path: root/chromium/chrome/common/network_easter_egg.mojom
blob: 6295b53dc0863cf297241dfa42959197b72501bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

module chrome.mojom;

interface NetworkEasterEgg {
  // Retrieve current high score as stored in user's profile.
  GetHighScore() => (uint32 high_score);

  // Update the high score stored in the user's profile. Only has an effect if
  // |high_score| is higher than the old score in the profile.
  UpdateHighScore(uint32 high_score);
};