chromium/chrome/common/network_easter_egg.mojom

// Copyright 2018 The Chromium Authors
// 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);

  // Clear any high score stored in the user's profile.
  ResetHighScore();
};