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

Side by Side Diff: extensions/browser/extension_prefs.h

Issue 1869483002: kiosk: Defer app update until platform matches (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: for comments from jenny Created 4 years, 8 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 EXTENSIONS_BROWSER_EXTENSION_PREFS_H_ 5 #ifndef EXTENSIONS_BROWSER_EXTENSION_PREFS_H_
6 #define EXTENSIONS_BROWSER_EXTENSION_PREFS_H_ 6 #define EXTENSIONS_BROWSER_EXTENSION_PREFS_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 typedef std::set<std::string> PrefKeySet; 65 typedef std::set<std::string> PrefKeySet;
66 66
67 // This enum is used to store the reason an extension's install has been 67 // This enum is used to store the reason an extension's install has been
68 // delayed. Do not remove items or re-order this enum as it is used in 68 // delayed. Do not remove items or re-order this enum as it is used in
69 // preferences. 69 // preferences.
70 enum DelayReason { 70 enum DelayReason {
71 DELAY_REASON_NONE = 0, 71 DELAY_REASON_NONE = 0,
72 DELAY_REASON_GC = 1, 72 DELAY_REASON_GC = 1,
73 DELAY_REASON_WAIT_FOR_IDLE = 2, 73 DELAY_REASON_WAIT_FOR_IDLE = 2,
74 DELAY_REASON_WAIT_FOR_IMPORTS = 3, 74 DELAY_REASON_WAIT_FOR_IMPORTS = 3,
75 DELAY_REASON_WAIT_FOR_OS_UPDATE = 4,
75 }; 76 };
76 77
77 // Creates base::Time classes. The default implementation is just to return 78 // Creates base::Time classes. The default implementation is just to return
78 // the current time, but tests can inject alternative implementations. 79 // the current time, but tests can inject alternative implementations.
79 class TimeProvider { 80 class TimeProvider {
80 public: 81 public:
81 TimeProvider(); 82 TimeProvider();
82 83
83 virtual ~TimeProvider(); 84 virtual ~TimeProvider();
84 85
(...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after
686 bool extensions_disabled_; 687 bool extensions_disabled_;
687 688
688 base::ObserverList<ExtensionPrefsObserver> observer_list_; 689 base::ObserverList<ExtensionPrefsObserver> observer_list_;
689 690
690 DISALLOW_COPY_AND_ASSIGN(ExtensionPrefs); 691 DISALLOW_COPY_AND_ASSIGN(ExtensionPrefs);
691 }; 692 };
692 693
693 } // namespace extensions 694 } // namespace extensions
694 695
695 #endif // EXTENSIONS_BROWSER_EXTENSION_PREFS_H_ 696 #endif // EXTENSIONS_BROWSER_EXTENSION_PREFS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698