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

Side by Side Diff: chrome/browser/content_settings/content_settings_custom_extension_provider.h

Issue 106433007: Update some uses of Value in chrome/browser to use the base:: namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 7 years 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_CONTENT_SETTINGS_CONTENT_SETTINGS_CUSTOM_EXTENSION_PROVID ER_H_ 5 #ifndef CHROME_BROWSER_CONTENT_SETTINGS_CONTENT_SETTINGS_CUSTOM_EXTENSION_PROVID ER_H_
6 #define CHROME_BROWSER_CONTENT_SETTINGS_CONTENT_SETTINGS_CUSTOM_EXTENSION_PROVID ER_H_ 6 #define CHROME_BROWSER_CONTENT_SETTINGS_CONTENT_SETTINGS_CUSTOM_EXTENSION_PROVID ER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 16 matching lines...) Expand all
27 virtual RuleIterator* GetRuleIterator( 27 virtual RuleIterator* GetRuleIterator(
28 ContentSettingsType content_type, 28 ContentSettingsType content_type,
29 const ResourceIdentifier& resource_identifier, 29 const ResourceIdentifier& resource_identifier,
30 bool incognito) const OVERRIDE; 30 bool incognito) const OVERRIDE;
31 31
32 virtual bool SetWebsiteSetting( 32 virtual bool SetWebsiteSetting(
33 const ContentSettingsPattern& primary_pattern, 33 const ContentSettingsPattern& primary_pattern,
34 const ContentSettingsPattern& secondary_pattern, 34 const ContentSettingsPattern& secondary_pattern,
35 ContentSettingsType content_type, 35 ContentSettingsType content_type,
36 const ResourceIdentifier& resource_identifier, 36 const ResourceIdentifier& resource_identifier,
37 Value* value) OVERRIDE; 37 base::Value* value) OVERRIDE;
38 38
39 virtual void ClearAllContentSettingsRules(ContentSettingsType content_type) 39 virtual void ClearAllContentSettingsRules(ContentSettingsType content_type)
40 OVERRIDE {} 40 OVERRIDE {}
41 41
42 virtual void ShutdownOnUIThread() OVERRIDE; 42 virtual void ShutdownOnUIThread() OVERRIDE;
43 43
44 // extensions::ContentSettingsStore::Observer methods: 44 // extensions::ContentSettingsStore::Observer methods:
45 virtual void OnContentSettingChanged(const std::string& extension_id, 45 virtual void OnContentSettingChanged(const std::string& extension_id,
46 bool incognito) OVERRIDE; 46 bool incognito) OVERRIDE;
47 47
48 private: 48 private:
49 // Specifies whether this provider manages settings for incognito or regular 49 // Specifies whether this provider manages settings for incognito or regular
50 // sessions. 50 // sessions.
51 bool incognito_; 51 bool incognito_;
52 52
53 // The backend storing content setting rules defined by extensions. 53 // The backend storing content setting rules defined by extensions.
54 scoped_refptr<extensions::ContentSettingsStore> extensions_settings_; 54 scoped_refptr<extensions::ContentSettingsStore> extensions_settings_;
55 55
56 DISALLOW_COPY_AND_ASSIGN(CustomExtensionProvider); 56 DISALLOW_COPY_AND_ASSIGN(CustomExtensionProvider);
57 }; 57 };
58 58
59 } // namespace content_settings 59 } // namespace content_settings
60 60
61 #endif // CHROME_BROWSER_CONTENT_SETTINGS_CONTENT_SETTINGS_CUSTOM_EXTENSION_PRO VIDER_H_ 61 #endif // CHROME_BROWSER_CONTENT_SETTINGS_CONTENT_SETTINGS_CUSTOM_EXTENSION_PRO VIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698