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

Side by Side Diff: chrome/browser/extensions/extension_pref_store.h

Issue 10698144: Remove #pragma once from chrome/browser/extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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_EXTENSIONS_EXTENSION_PREF_STORE_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_PREF_STORE_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PREF_STORE_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PREF_STORE_H_
7 #pragma once
8 7
9 #include <string> 8 #include <string>
10 9
11 #include "base/time.h" 10 #include "base/time.h"
12 #include "chrome/browser/extensions/extension_pref_value_map.h" 11 #include "chrome/browser/extensions/extension_pref_value_map.h"
13 #include "chrome/browser/prefs/value_map_pref_store.h" 12 #include "chrome/browser/prefs/value_map_pref_store.h"
14 13
15 // A (non-persistent) PrefStore implementation that holds effective preferences 14 // A (non-persistent) PrefStore implementation that holds effective preferences
16 // set by extensions. These preferences are managed by and fetched from an 15 // set by extensions. These preferences are managed by and fetched from an
17 // ExtensionPrefValueMap. 16 // ExtensionPrefValueMap.
(...skipping 13 matching lines...) Expand all
31 virtual ~ExtensionPrefStore(); 30 virtual ~ExtensionPrefStore();
32 31
33 private: 32 private:
34 ExtensionPrefValueMap* extension_pref_value_map_; // Weak pointer. 33 ExtensionPrefValueMap* extension_pref_value_map_; // Weak pointer.
35 bool incognito_pref_store_; 34 bool incognito_pref_store_;
36 35
37 DISALLOW_COPY_AND_ASSIGN(ExtensionPrefStore); 36 DISALLOW_COPY_AND_ASSIGN(ExtensionPrefStore);
38 }; 37 };
39 38
40 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PREF_STORE_H_ 39 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PREF_STORE_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_navigation_observer.h ('k') | chrome/browser/extensions/extension_pref_value_map.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698