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

Side by Side Diff: chrome/browser/protector/protected_prefs_watcher.h

Issue 10824344: Renamed ExtensionIdSet to ExtensionIds (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: undid files where I went too far Created 8 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_PROTECTOR_PROTECTED_PREFS_WATCHER_H_ 5 #ifndef CHROME_BROWSER_PROTECTOR_PROTECTED_PREFS_WATCHER_H_
6 #define CHROME_BROWSER_PROTECTOR_PROTECTED_PREFS_WATCHER_H_ 6 #define CHROME_BROWSER_PROTECTOR_PROTECTED_PREFS_WATCHER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 // Returns |true| if backup signature is valid. 84 // Returns |true| if backup signature is valid.
85 bool IsSignatureValid() const; 85 bool IsSignatureValid() const;
86 86
87 // Updates the backup signature. 87 // Updates the backup signature.
88 void UpdateBackupSignature(); 88 void UpdateBackupSignature();
89 89
90 // Returns data to be signed as string. 90 // Returns data to be signed as string.
91 std::string GetSignatureData(PrefService* prefs) const; 91 std::string GetSignatureData(PrefService* prefs) const;
92 92
93 // Cached set of extension IDs. They are not changed as frequently 93 // Cached set of extension IDs. They are not changed as frequently
94 extensions::ExtensionPrefs::ExtensionIdSet cached_extension_ids_; 94 extensions::ExtensionPrefs::ExtensionIds cached_extension_ids_;
95 95
96 scoped_ptr<PrefSetObserver> pref_observer_; 96 scoped_ptr<PrefSetObserver> pref_observer_;
97 97
98 // True if the backup was valid at the profile load time. 98 // True if the backup was valid at the profile load time.
99 bool is_backup_valid_; 99 bool is_backup_valid_;
100 100
101 Profile* profile_; 101 Profile* profile_;
102 102
103 DISALLOW_COPY_AND_ASSIGN(ProtectedPrefsWatcher); 103 DISALLOW_COPY_AND_ASSIGN(ProtectedPrefsWatcher);
104 }; 104 };
105 105
106 } // namespace protector 106 } // namespace protector
107 107
108 #endif // CHROME_BROWSER_PROTECTOR_PROTECTED_PREFS_WATCHER_H_ 108 #endif // CHROME_BROWSER_PROTECTOR_PROTECTED_PREFS_WATCHER_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_toolbar_model.cc ('k') | chrome/browser/protector/protected_prefs_watcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698