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

Side by Side Diff: chrome/browser/extensions/settings/weak_unlimited_settings_storage.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_SETTINGS_WEAK_UNLIMITED_SETTINGS_STORAGE_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_SETTINGS_WEAK_UNLIMITED_SETTINGS_STORAGE_H_
6 #define CHROME_BROWSER_EXTENSIONS_SETTINGS_WEAK_UNLIMITED_SETTINGS_STORAGE_H_ 6 #define CHROME_BROWSER_EXTENSIONS_SETTINGS_WEAK_UNLIMITED_SETTINGS_STORAGE_H_
7 #pragma once
8 7
9 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
10 #include "chrome/browser/value_store/value_store.h" 9 #include "chrome/browser/value_store/value_store.h"
11 10
12 namespace extensions { 11 namespace extensions {
13 12
14 // A ValueStore decorator which makes calls through |Set| ignore quota. 13 // A ValueStore decorator which makes calls through |Set| ignore quota.
15 // "Weak" because ownership of the delegate isn't taken; this is designed to be 14 // "Weak" because ownership of the delegate isn't taken; this is designed to be
16 // temporarily attached to storage areas. 15 // temporarily attached to storage areas.
17 class WeakUnlimitedSettingsStorage : public ValueStore { 16 class WeakUnlimitedSettingsStorage : public ValueStore {
(...skipping 23 matching lines...) Expand all
41 private: 40 private:
42 // The delegate storage area, NOT OWNED. 41 // The delegate storage area, NOT OWNED.
43 ValueStore* const delegate_; 42 ValueStore* const delegate_;
44 43
45 DISALLOW_COPY_AND_ASSIGN(WeakUnlimitedSettingsStorage); 44 DISALLOW_COPY_AND_ASSIGN(WeakUnlimitedSettingsStorage);
46 }; 45 };
47 46
48 } // namespace extensions 47 } // namespace extensions
49 48
50 #endif // CHROME_BROWSER_EXTENSIONS_SETTINGS_WEAK_UNLIMITED_SETTINGS_STORAGE_H_ 49 #endif // CHROME_BROWSER_EXTENSIONS_SETTINGS_WEAK_UNLIMITED_SETTINGS_STORAGE_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/settings/syncable_settings_storage.h ('k') | chrome/browser/extensions/shell_window_registry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698