Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(275)

Side by Side Diff: chrome/browser/chromeos/arc/optin/arc_optin_preference_handler_observer.h

Issue 2682833003: Skip ARC initial screen when everything is set up by policy (Closed)
Patch Set: Rebase Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_ARC_OPTIN_ARC_OPTIN_PREFERENCE_HANDLER_OBSERVER_ H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_ARC_OPTIN_ARC_OPTIN_PREFERENCE_HANDLER_OBSERVER_ H_
6 #define CHROME_BROWSER_CHROMEOS_ARC_OPTIN_ARC_OPTIN_PREFERENCE_HANDLER_OBSERVER_ H_ 6 #define CHROME_BROWSER_CHROMEOS_ARC_OPTIN_ARC_OPTIN_PREFERENCE_HANDLER_OBSERVER_ H_
7 7
8 namespace arc { 8 namespace arc {
9 9
10 // Notifies about changes in Arc related preferences and metrics mode. 10 // Notifies about changes in Arc related preferences and metrics mode.
11 class ArcOptInPreferenceHandlerObserver { 11 class ArcOptInPreferenceHandlerObserver {
12 public: 12 public:
13 // Notifies metrics mode has been changed. 13 // Notifies that the metrics mode has been changed.
hidehiko 2017/02/17 09:03:01 Thank you for clean up!
14 virtual void OnMetricsModeChanged(bool enabled, bool managed) = 0; 14 virtual void OnMetricsModeChanged(bool enabled, bool managed) = 0;
15 // Notifies use backup and restore preference has been changed. 15 // Notifies that the backup and restore mode has been changed.
16 virtual void OnBackupAndRestoreModeChanged(bool enabled, bool managed) = 0; 16 virtual void OnBackupAndRestoreModeChanged(bool enabled, bool managed) = 0;
17 // Notifies location service consent preference has been changed. 17 // Notifies that the location service mode has been changed.
18 virtual void OnLocationServicesModeChanged(bool enabled, bool managed) = 0; 18 virtual void OnLocationServicesModeChanged(bool enabled, bool managed) = 0;
19 19
20 virtual ~ArcOptInPreferenceHandlerObserver() = default; 20 virtual ~ArcOptInPreferenceHandlerObserver() = default;
21 }; 21 };
22 22
23 } // namespace arc 23 } // namespace arc
24 24
25 #endif // CHROME_BROWSER_CHROMEOS_ARC_OPTIN_ARC_OPTIN_PREFERENCE_HANDLER_OBSERV ER_H_ 25 #endif // CHROME_BROWSER_CHROMEOS_ARC_OPTIN_ARC_OPTIN_PREFERENCE_HANDLER_OBSERV ER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698