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

Side by Side Diff: chrome/browser/chromeos/arc/arc_auth_notification.h

Issue 2709393003: Split ArcAuthNotification UI control flag from ArcSessionManager. (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/arc/arc_auth_notification.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_ARC_AUTH_NOTIFICATION_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_ARC_ARC_AUTH_NOTIFICATION_H_
6 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_AUTH_NOTIFICATION_H_ 6 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_AUTH_NOTIFICATION_H_
7 7
8 class Profile; 8 class Profile;
9 9
10 namespace arc { 10 namespace arc {
11 11
12 // First run notification that can enable ARC. 12 // First run notification that can enable ARC.
13 class ArcAuthNotification { 13 class ArcAuthNotification {
14 public: 14 public:
15 static void Show(Profile* profile); 15 static void Show(Profile* profile);
16 static void Hide(); 16 static void Hide();
17
18 // Disables to show ArcAuthNotification to make testing easier.
Luis Héctor Chávez 2017/02/23 17:29:32 nit: "Disables showing"
hidehiko 2017/02/23 18:33:33 Done.
19 static void DisableForTesting();
17 }; 20 };
18 21
19 } // namespace arc 22 } // namespace arc
20 23
21 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_AUTH_NOTIFICATION_H_ 24 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_AUTH_NOTIFICATION_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/arc/arc_auth_notification.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698