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

Side by Side Diff: chrome/browser/content_settings/cookie_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) 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_COOKIE_SETTINGS_H_ 5 #ifndef CHROME_BROWSER_CONTENT_SETTINGS_COOKIE_SETTINGS_H_
6 #define CHROME_BROWSER_CONTENT_SETTINGS_COOKIE_SETTINGS_H_ 6 #define CHROME_BROWSER_CONTENT_SETTINGS_COOKIE_SETTINGS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/memory/singleton.h" 12 #include "base/memory/singleton.h"
13 #include "base/prefs/pref_change_registrar.h" 13 #include "base/prefs/pref_change_registrar.h"
14 #include "base/synchronization/lock.h" 14 #include "base/synchronization/lock.h"
15 #include "chrome/browser/content_settings/host_content_settings_map.h" 15 #include "chrome/browser/content_settings/host_content_settings_map.h"
16 #include "chrome/common/content_settings.h" 16 #include "components/content_settings/core/common/content_settings.h"
17 #include "components/keyed_service/content/refcounted_browser_context_keyed_serv ice.h" 17 #include "components/keyed_service/content/refcounted_browser_context_keyed_serv ice.h"
18 #include "components/keyed_service/content/refcounted_browser_context_keyed_serv ice_factory.h" 18 #include "components/keyed_service/content/refcounted_browser_context_keyed_serv ice_factory.h"
19 19
20 class ContentSettingsPattern; 20 class ContentSettingsPattern;
21 class CookieSettingsWrapper; 21 class CookieSettingsWrapper;
22 class GURL; 22 class GURL;
23 class PrefService; 23 class PrefService;
24 class Profile; 24 class Profile;
25 25
26 // A frontend to the cookie settings of |HostContentSettingsMap|. Handles 26 // A frontend to the cookie settings of |HostContentSettingsMap|. Handles
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 PrefChangeRegistrar pref_change_registrar_; 140 PrefChangeRegistrar pref_change_registrar_;
141 141
142 // Used around accesses to |block_third_party_cookies_| to guarantee thread 142 // Used around accesses to |block_third_party_cookies_| to guarantee thread
143 // safety. 143 // safety.
144 mutable base::Lock lock_; 144 mutable base::Lock lock_;
145 145
146 bool block_third_party_cookies_; 146 bool block_third_party_cookies_;
147 }; 147 };
148 148
149 #endif // CHROME_BROWSER_CONTENT_SETTINGS_COOKIE_SETTINGS_H_ 149 #endif // CHROME_BROWSER_CONTENT_SETTINGS_COOKIE_SETTINGS_H_
OLDNEW
« no previous file with comments | « chrome/browser/content_settings/content_settings_utils.h ('k') | chrome/browser/content_settings/host_content_settings_map.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698