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

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

Issue 7259019: Move base/values.h into the base namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 | 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 // Maps hostnames to custom content settings. Written on the UI thread and read 5 // Maps hostnames to custom content settings. Written on the UI thread and read
6 // on any thread. One instance per profile. 6 // on any thread. One instance per profile.
7 7
8 #ifndef CHROME_BROWSER_CONTENT_SETTINGS_HOST_CONTENT_SETTINGS_MAP_H_ 8 #ifndef CHROME_BROWSER_CONTENT_SETTINGS_HOST_CONTENT_SETTINGS_MAP_H_
9 #define CHROME_BROWSER_CONTENT_SETTINGS_HOST_CONTENT_SETTINGS_MAP_H_ 9 #define CHROME_BROWSER_CONTENT_SETTINGS_HOST_CONTENT_SETTINGS_MAP_H_
10 #pragma once 10 #pragma once
(...skipping 13 matching lines...) Expand all
24 #include "content/browser/browser_thread.h" 24 #include "content/browser/browser_thread.h"
25 #include "content/common/notification_observer.h" 25 #include "content/common/notification_observer.h"
26 #include "content/common/notification_registrar.h" 26 #include "content/common/notification_registrar.h"
27 27
28 namespace content_settings { 28 namespace content_settings {
29 class DefaultProviderInterface; 29 class DefaultProviderInterface;
30 class ProviderInterface; 30 class ProviderInterface;
31 } // namespace content_settings 31 } // namespace content_settings
32 32
33 class ContentSettingsDetails; 33 class ContentSettingsDetails;
34 class DictionaryValue;
35 class ExtensionService; 34 class ExtensionService;
36 class GURL; 35 class GURL;
37 class PrefService; 36 class PrefService;
38 class Profile; 37 class Profile;
39 38
40 class HostContentSettingsMap 39 class HostContentSettingsMap
41 : public NotificationObserver, 40 : public NotificationObserver,
42 public base::RefCountedThreadSafe<HostContentSettingsMap> { 41 public base::RefCountedThreadSafe<HostContentSettingsMap> {
43 public: 42 public:
44 typedef Tuple3<ContentSettingsPattern, ContentSetting, std::string> 43 typedef Tuple3<ContentSettingsPattern, ContentSetting, std::string>
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 mutable base::Lock lock_; 233 mutable base::Lock lock_;
235 234
236 // Misc global settings. 235 // Misc global settings.
237 bool block_third_party_cookies_; 236 bool block_third_party_cookies_;
238 bool is_block_third_party_cookies_managed_; 237 bool is_block_third_party_cookies_managed_;
239 238
240 DISALLOW_COPY_AND_ASSIGN(HostContentSettingsMap); 239 DISALLOW_COPY_AND_ASSIGN(HostContentSettingsMap);
241 }; 240 };
242 241
243 #endif // CHROME_BROWSER_CONTENT_SETTINGS_HOST_CONTENT_SETTINGS_MAP_H_ 242 #endif // CHROME_BROWSER_CONTENT_SETTINGS_HOST_CONTENT_SETTINGS_MAP_H_
OLDNEW
« no previous file with comments | « chrome/browser/content_settings/content_settings_pref_provider.h ('k') | chrome/browser/download/download_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698