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

Side by Side Diff: chrome/browser/ui/webui/site_settings_helper.h

Issue 2936003003: MD Settings: Set all content setting values in Site Details Javascript. (Closed)
Patch Set: Review comments. Created 3 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_UI_WEBUI_SITE_SETTINGS_HELPER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_SITE_SETTINGS_HELPER_H_
6 #define CHROME_BROWSER_UI_WEBUI_SITE_SETTINGS_HELPER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_SITE_SETTINGS_HELPER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 27 matching lines...) Expand all
38 // Maps from a primary pattern/source pair to a OnePatternSettings. All the 38 // Maps from a primary pattern/source pair to a OnePatternSettings. All the
39 // mappings in OnePatternSettings share the given primary pattern and source. 39 // mappings in OnePatternSettings share the given primary pattern and source.
40 typedef std::map<std::pair<ContentSettingsPattern, std::string>, 40 typedef std::map<std::pair<ContentSettingsPattern, std::string>,
41 OnePatternSettings> 41 OnePatternSettings>
42 AllPatternsSettings; 42 AllPatternsSettings;
43 43
44 extern const char kSetting[]; 44 extern const char kSetting[];
45 extern const char kOrigin[]; 45 extern const char kOrigin[];
46 extern const char kDisplayName[]; 46 extern const char kDisplayName[];
47 extern const char kOriginForFavicon[]; 47 extern const char kOriginForFavicon[];
48 extern const char kExtensionProviderId[];
48 extern const char kPolicyProviderId[]; 49 extern const char kPolicyProviderId[];
49 extern const char kSource[]; 50 extern const char kSource[];
50 extern const char kIncognito[]; 51 extern const char kIncognito[];
51 extern const char kEmbeddingOrigin[]; 52 extern const char kEmbeddingOrigin[];
52 extern const char kPreferencesSource[]; 53 extern const char kPreferencesSource[];
53 54
54 // Group types. 55 // Group types.
55 extern const char kGroupTypeUsb[]; 56 extern const char kGroupTypeUsb[];
56 57
57 // Returns whether a group name has been registered for the given type. 58 // Returns whether a group name has been registered for the given type.
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 // Fills in |exceptions| with Values for the given |chooser_type| from map. 133 // Fills in |exceptions| with Values for the given |chooser_type| from map.
133 void GetChooserExceptionsFromProfile( 134 void GetChooserExceptionsFromProfile(
134 Profile* profile, 135 Profile* profile,
135 bool incognito, 136 bool incognito,
136 const ChooserTypeNameEntry& chooser_type, 137 const ChooserTypeNameEntry& chooser_type,
137 base::ListValue* exceptions); 138 base::ListValue* exceptions);
138 139
139 } // namespace site_settings 140 } // namespace site_settings
140 141
141 #endif // CHROME_BROWSER_UI_WEBUI_SITE_SETTINGS_HELPER_H_ 142 #endif // CHROME_BROWSER_UI_WEBUI_SITE_SETTINGS_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/settings/site_settings_handler.cc ('k') | chrome/browser/ui/webui/site_settings_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698