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

Side by Side Diff: chrome/browser/profiles/profile_impl.h

Issue 7716003: WIP: URL blacklisting by policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reviewed Created 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/prefs/browser_prefs.cc ('k') | chrome/browser/profiles/profile_io_data.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // This class gathers state related to a single user profile. 5 // This class gathers state related to a single user profile.
6 6
7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
9 #pragma once 9 #pragma once
10 10
11 #include "base/file_path.h" 11 #include "base/file_path.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/timer.h" 14 #include "base/timer.h"
15 #include "chrome/browser/prefs/pref_change_registrar.h" 15 #include "chrome/browser/prefs/pref_change_registrar.h"
16 #include "chrome/browser/profiles/profile.h" 16 #include "chrome/browser/profiles/profile.h"
17 #include "chrome/browser/profiles/profile_impl_io_data.h" 17 #include "chrome/browser/profiles/profile_impl_io_data.h"
18 #include "content/common/notification_observer.h" 18 #include "content/common/notification_observer.h"
19 #include "content/common/notification_registrar.h" 19 #include "content/common/notification_registrar.h"
20 20
21 class ChromeDownloadManagerDelegate; 21 class ChromeDownloadManagerDelegate;
22 class ExtensionPrefs; 22 class ExtensionPrefs;
23 class ExtensionPrefValueMap; 23 class ExtensionPrefValueMap;
24 class ExtensionSettings; 24 class ExtensionSettings;
25 class NetPrefObserver;
25 class PrefService; 26 class PrefService;
26 class SpellCheckProfile; 27 class SpellCheckProfile;
27 28
28 #if defined(OS_CHROMEOS) 29 #if defined(OS_CHROMEOS)
29 namespace chromeos { 30 namespace chromeos {
30 class EnterpriseExtensionObserver; 31 class EnterpriseExtensionObserver;
31 class LocaleChangeGuard; 32 class LocaleChangeGuard;
32 class Preferences; 33 class Preferences;
33 } 34 }
34 #endif 35 #endif
35 36
36 class NetPrefObserver;
37
38 // The default profile implementation. 37 // The default profile implementation.
39 class ProfileImpl : public Profile, 38 class ProfileImpl : public Profile,
40 public NotificationObserver { 39 public NotificationObserver {
41 public: 40 public:
42 virtual ~ProfileImpl(); 41 virtual ~ProfileImpl();
43 42
44 static void RegisterUserPrefs(PrefService* prefs); 43 static void RegisterUserPrefs(PrefService* prefs);
45 44
46 // Profile implementation. 45 // Profile implementation.
47 virtual std::string GetProfileName(); 46 virtual std::string GetProfileName();
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; 287 scoped_refptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;
289 288
290 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; 289 scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_;
291 290
292 Profile::Delegate* delegate_; 291 Profile::Delegate* delegate_;
293 292
294 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 293 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
295 }; 294 };
296 295
297 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 296 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/prefs/browser_prefs.cc ('k') | chrome/browser/profiles/profile_io_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698