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

Side by Side Diff: extensions/browser/extension_pref_value_map.cc

Issue 46853004: Move ExtensionPrefs and friends to extensions/ directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync and update app_shell Created 6 years, 11 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 #include "chrome/browser/extensions/extension_pref_value_map.h" 5 #include "extensions/browser/extension_pref_value_map.h"
6 6
7 #include "base/prefs/pref_value_map.h" 7 #include "base/prefs/pref_value_map.h"
8 #include "base/stl_util.h" 8 #include "base/stl_util.h"
9 #include "base/values.h" 9 #include "base/values.h"
10 10
11 using extensions::ExtensionPrefsScope; 11 using extensions::ExtensionPrefsScope;
12 12
13 struct ExtensionPrefValueMap::ExtensionEntry { 13 struct ExtensionPrefValueMap::ExtensionEntry {
14 // Installation time of the extension. 14 // Installation time of the extension.
15 base::Time install_time; 15 base::Time install_time;
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 367
368 void ExtensionPrefValueMap::NotifyPrefValueChanged(const std::string& key) { 368 void ExtensionPrefValueMap::NotifyPrefValueChanged(const std::string& key) {
369 FOR_EACH_OBSERVER(ExtensionPrefValueMap::Observer, observers_, 369 FOR_EACH_OBSERVER(ExtensionPrefValueMap::Observer, observers_,
370 OnPrefValueChanged(key)); 370 OnPrefValueChanged(key));
371 } 371 }
372 372
373 void ExtensionPrefValueMap::NotifyOfDestruction() { 373 void ExtensionPrefValueMap::NotifyOfDestruction() {
374 FOR_EACH_OBSERVER(ExtensionPrefValueMap::Observer, observers_, 374 FOR_EACH_OBSERVER(ExtensionPrefValueMap::Observer, observers_,
375 OnExtensionPrefValueMapDestruction()); 375 OnExtensionPrefValueMapDestruction());
376 } 376 }
OLDNEW
« no previous file with comments | « extensions/browser/extension_pref_value_map.h ('k') | extensions/browser/extension_pref_value_map_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698