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

Side by Side Diff: components/content_settings/core/common/content_settings.h

Issue 541813002: Componentize chrome/common/content_settings files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: GN fix Created 6 years, 3 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 (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_COMMON_CONTENT_SETTINGS_H_ 5 #ifndef COMPONENTS_CONTENT_SETTINGS_CORE_COMMON_CONTENT_SETTINGS_H_
6 #define CHROME_COMMON_CONTENT_SETTINGS_H_ 6 #define COMPONENTS_CONTENT_SETTINGS_CORE_COMMON_CONTENT_SETTINGS_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "components/content_settings/core/common/content_settings_pattern.h" 11 #include "components/content_settings/core/common/content_settings_pattern.h"
12 12
13 // Different settings that can be assigned for a particular content type. We 13 // Different settings that can be assigned for a particular content type. We
14 // give the user the ability to set these on a global and per-origin basis. 14 // give the user the ability to set these on a global and per-origin basis.
15 enum ContentSetting { 15 enum ContentSetting {
16 CONTENT_SETTING_DEFAULT = 0, 16 CONTENT_SETTING_DEFAULT = 0,
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 // contains the source of a value. |primary_pattern| and |secondary_pattern| 66 // contains the source of a value. |primary_pattern| and |secondary_pattern|
67 // contains the patterns of the appling rule. 67 // contains the patterns of the appling rule.
68 struct SettingInfo { 68 struct SettingInfo {
69 SettingSource source; 69 SettingSource source;
70 ContentSettingsPattern primary_pattern; 70 ContentSettingsPattern primary_pattern;
71 ContentSettingsPattern secondary_pattern; 71 ContentSettingsPattern secondary_pattern;
72 }; 72 };
73 73
74 } // namespace content_settings 74 } // namespace content_settings
75 75
76 #endif // CHROME_COMMON_CONTENT_SETTINGS_H_ 76 #endif // COMPONENTS_CONTENT_SETTINGS_CORE_COMMON_CONTENT_SETTINGS_H_
OLDNEW
« no previous file with comments | « components/content_settings/core/common/DEPS ('k') | components/content_settings/core/common/content_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698