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

Side by Side Diff: chrome/browser/extensions/extension_pref_value_map.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_VALUE_MAP_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_PREF_VALUE_MAP_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PREF_VALUE_MAP_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PREF_VALUE_MAP_H_
7 #pragma once
8 7
9 #include <map> 8 #include <map>
10 #include <set> 9 #include <set>
11 #include <string> 10 #include <string>
12 11
13 #include "base/observer_list.h" 12 #include "base/observer_list.h"
14 #include "base/time.h" 13 #include "base/time.h"
15 #include "base/values.h" 14 #include "base/values.h"
16 #include "chrome/browser/prefs/pref_value_map.h" 15 #include "chrome/browser/prefs/pref_value_map.h"
17 #include "chrome/browser/profiles/profile_keyed_service.h" 16 #include "chrome/browser/profiles/profile_keyed_service.h"
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 // being destroyed. In tests, it isn't called, so the notification must 184 // being destroyed. In tests, it isn't called, so the notification must
186 // be done in the destructor. This bit tracks whether it has been done yet. 185 // be done in the destructor. This bit tracks whether it has been done yet.
187 bool destroyed_; 186 bool destroyed_;
188 187
189 ObserverList<Observer, true> observers_; 188 ObserverList<Observer, true> observers_;
190 189
191 DISALLOW_COPY_AND_ASSIGN(ExtensionPrefValueMap); 190 DISALLOW_COPY_AND_ASSIGN(ExtensionPrefValueMap);
192 }; 191 };
193 192
194 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PREF_VALUE_MAP_H_ 193 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PREF_VALUE_MAP_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_pref_store.h ('k') | chrome/browser/extensions/extension_preference_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698