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

Side by Side Diff: chrome/browser/chromeos/arc/extensions/fake_arc_support.h

Issue 2702893002: Revert of Skip ARC initial screen when everything is set up by policy (Closed)
Patch Set: 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_EXTENSIONS_FAKE_ARC_SUPPORT_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_ARC_EXTENSIONS_FAKE_ARC_SUPPORT_H_
6 #define CHROME_BROWSER_CHROMEOS_ARC_EXTENSIONS_FAKE_ARC_SUPPORT_H_ 6 #define CHROME_BROWSER_CHROMEOS_ARC_EXTENSIONS_FAKE_ARC_SUPPORT_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 14 matching lines...) Expand all
25 // ARC support host. 25 // ARC support host.
26 void Open(Profile* profile); 26 void Open(Profile* profile);
27 27
28 // Emulates clicking Close button. 28 // Emulates clicking Close button.
29 void Close(); 29 void Close();
30 30
31 // Terms of service page emulation. 31 // Terms of service page emulation.
32 // Emulates clicking Agree button. 32 // Emulates clicking Agree button.
33 void ClickAgreeButton(); 33 void ClickAgreeButton();
34 34
35 bool metrics_mode() const { return metrics_mode_; }
36 bool backup_and_restore_mode() const { return backup_and_restore_mode_; }
37 bool location_service_mode() const { return location_service_mode_; }
38
39 // Emulates checking preference box. 35 // Emulates checking preference box.
40 void set_metrics_mode(bool mode) { metrics_mode_ = mode; } 36 void set_metrics_mode(bool mode) { metrics_mode_ = mode; }
41 void set_backup_and_restore_mode(bool mode) { 37 void set_backup_and_restore_mode(bool mode) {
42 backup_and_restore_mode_ = mode; 38 backup_and_restore_mode_ = mode;
43 } 39 }
44 void set_location_service_mode(bool mode) { location_service_mode_ = mode; } 40 void set_location_service_mode(bool mode) { location_service_mode_ = mode; }
45 41
46 // Error page emulation. 42 // Error page emulation.
47 void ClickRetryButton(); 43 void ClickRetryButton();
48 44
(...skipping 14 matching lines...) Expand all
63 bool location_service_mode_ = false; 59 bool location_service_mode_ = false;
64 60
65 base::WeakPtrFactory<FakeArcSupport> weak_ptr_factory_; 61 base::WeakPtrFactory<FakeArcSupport> weak_ptr_factory_;
66 62
67 DISALLOW_COPY_AND_ASSIGN(FakeArcSupport); 63 DISALLOW_COPY_AND_ASSIGN(FakeArcSupport);
68 }; 64 };
69 65
70 } // namespace arc 66 } // namespace arc
71 67
72 #endif // CHROME_BROWSER_CHROMEOS_ARC_EXTENSIONS_FAKE_ARC_SUPPORT_H_ 68 #endif // CHROME_BROWSER_CHROMEOS_ARC_EXTENSIONS_FAKE_ARC_SUPPORT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698