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

Side by Side Diff: chrome/browser/content_settings/content_settings_default_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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_DEFAULT_PROVIDER_H_ 5 #ifndef CHROME_BROWSER_CONTENT_SETTINGS_CONTENT_SETTINGS_DEFAULT_PROVIDER_H_
6 #define CHROME_BROWSER_CONTENT_SETTINGS_CONTENT_SETTINGS_DEFAULT_PROVIDER_H_ 6 #define CHROME_BROWSER_CONTENT_SETTINGS_CONTENT_SETTINGS_DEFAULT_PROVIDER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 27 matching lines...) Expand all
38 virtual RuleIterator* GetRuleIterator( 38 virtual RuleIterator* GetRuleIterator(
39 ContentSettingsType content_type, 39 ContentSettingsType content_type,
40 const ResourceIdentifier& resource_identifier, 40 const ResourceIdentifier& resource_identifier,
41 bool incognito) const OVERRIDE; 41 bool incognito) const OVERRIDE;
42 42
43 virtual bool SetWebsiteSetting( 43 virtual bool SetWebsiteSetting(
44 const ContentSettingsPattern& primary_pattern, 44 const ContentSettingsPattern& primary_pattern,
45 const ContentSettingsPattern& secondary_pattern, 45 const ContentSettingsPattern& secondary_pattern,
46 ContentSettingsType content_type, 46 ContentSettingsType content_type,
47 const ResourceIdentifier& resource_identifier, 47 const ResourceIdentifier& resource_identifier,
48 Value* value) OVERRIDE; 48 base::Value* value) OVERRIDE;
49 49
50 virtual void ClearAllContentSettingsRules( 50 virtual void ClearAllContentSettingsRules(
51 ContentSettingsType content_type) OVERRIDE; 51 ContentSettingsType content_type) OVERRIDE;
52 52
53 virtual void ShutdownOnUIThread() OVERRIDE; 53 virtual void ShutdownOnUIThread() OVERRIDE;
54 54
55 private: 55 private:
56 // Sets the fields of |settings| based on the values in |dictionary|. 56 // Sets the fields of |settings| based on the values in |dictionary|.
57 void GetSettingsFromDictionary(const base::DictionaryValue* dictionary); 57 void GetSettingsFromDictionary(const base::DictionaryValue* dictionary);
58 58
(...skipping 27 matching lines...) Expand all
86 // Whether we are currently updating preferences, this is used to ignore 86 // Whether we are currently updating preferences, this is used to ignore
87 // notifications from the preferences service that we triggered ourself. 87 // notifications from the preferences service that we triggered ourself.
88 bool updating_preferences_; 88 bool updating_preferences_;
89 89
90 DISALLOW_COPY_AND_ASSIGN(DefaultProvider); 90 DISALLOW_COPY_AND_ASSIGN(DefaultProvider);
91 }; 91 };
92 92
93 } // namespace content_settings 93 } // namespace content_settings
94 94
95 #endif // CHROME_BROWSER_CONTENT_SETTINGS_CONTENT_SETTINGS_DEFAULT_PROVIDER_H_ 95 #endif // CHROME_BROWSER_CONTENT_SETTINGS_CONTENT_SETTINGS_DEFAULT_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698