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

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

Issue 10154008: Experimental USB API implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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/profiles/profile.h ('k') | chrome/browser/profiles/profile_impl.cc » ('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) 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 // 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 <string> 11 #include <string>
12 12
13 #include "base/file_path.h" 13 #include "base/file_path.h"
14 #include "base/gtest_prod_util.h" 14 #include "base/gtest_prod_util.h"
15 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
16 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
17 #include "base/timer.h" 17 #include "base/timer.h"
18 #include "chrome/browser/prefs/pref_change_registrar.h" 18 #include "chrome/browser/prefs/pref_change_registrar.h"
19 #include "chrome/browser/profiles/profile.h" 19 #include "chrome/browser/profiles/profile.h"
20 #include "chrome/browser/profiles/profile_impl_io_data.h" 20 #include "chrome/browser/profiles/profile_impl_io_data.h"
21 #include "chrome/browser/usb/usb_service.h"
21 #include "content/public/browser/notification_observer.h" 22 #include "content/public/browser/notification_observer.h"
22 #include "content/public/browser/notification_registrar.h" 23 #include "content/public/browser/notification_registrar.h"
23 24
24 class ExtensionNavigationObserver; 25 class ExtensionNavigationObserver;
25 class ExtensionSystem; 26 class ExtensionSystem;
26 class NetPrefObserver; 27 class NetPrefObserver;
27 class PrefService; 28 class PrefService;
28 class SSLConfigServiceManager; 29 class SSLConfigServiceManager;
29 class VisitedLinkEventListener; 30 class VisitedLinkEventListener;
30 31
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 virtual base::Time GetStartTime() const OVERRIDE; 106 virtual base::Time GetStartTime() const OVERRIDE;
106 virtual void MarkAsCleanShutdown() OVERRIDE; 107 virtual void MarkAsCleanShutdown() OVERRIDE;
107 virtual void InitPromoResources() OVERRIDE; 108 virtual void InitPromoResources() OVERRIDE;
108 virtual void InitRegisteredProtocolHandlers() OVERRIDE; 109 virtual void InitRegisteredProtocolHandlers() OVERRIDE;
109 virtual FilePath last_selected_directory() OVERRIDE; 110 virtual FilePath last_selected_directory() OVERRIDE;
110 virtual void set_last_selected_directory(const FilePath& path) OVERRIDE; 111 virtual void set_last_selected_directory(const FilePath& path) OVERRIDE;
111 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE; 112 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE;
112 virtual void ClearNetworkingHistorySince(base::Time time) OVERRIDE; 113 virtual void ClearNetworkingHistorySince(base::Time time) OVERRIDE;
113 virtual GURL GetHomePage() OVERRIDE; 114 virtual GURL GetHomePage() OVERRIDE;
114 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; 115 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE;
116 virtual UsbService *GetUsbService() OVERRIDE;
115 117
116 #if defined(OS_CHROMEOS) 118 #if defined(OS_CHROMEOS)
117 virtual void ChangeAppLocale(const std::string& locale, 119 virtual void ChangeAppLocale(const std::string& locale,
118 AppLocaleChangedVia) OVERRIDE; 120 AppLocaleChangedVia) OVERRIDE;
119 virtual void OnLogin() OVERRIDE; 121 virtual void OnLogin() OVERRIDE;
120 virtual void SetupChromeOSEnterpriseExtensionObserver() OVERRIDE; 122 virtual void SetupChromeOSEnterpriseExtensionObserver() OVERRIDE;
121 virtual void InitChromeOSPreferences() OVERRIDE; 123 virtual void InitChromeOSPreferences() OVERRIDE;
122 #endif // defined(OS_CHROMEOS) 124 #endif // defined(OS_CHROMEOS)
123 125
124 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE; 126 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE;
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 215
214 scoped_refptr<HostContentSettingsMap> host_content_settings_map_; 216 scoped_refptr<HostContentSettingsMap> host_content_settings_map_;
215 scoped_refptr<content::GeolocationPermissionContext> 217 scoped_refptr<content::GeolocationPermissionContext>
216 geolocation_permission_context_; 218 geolocation_permission_context_;
217 scoped_refptr<content::SpeechRecognitionPreferences> 219 scoped_refptr<content::SpeechRecognitionPreferences>
218 speech_recognition_preferences_; 220 speech_recognition_preferences_;
219 scoped_ptr<GAIAInfoUpdateService> gaia_info_update_service_; 221 scoped_ptr<GAIAInfoUpdateService> gaia_info_update_service_;
220 scoped_refptr<HistoryService> history_service_; 222 scoped_refptr<HistoryService> history_service_;
221 scoped_ptr<FaviconService> favicon_service_; 223 scoped_ptr<FaviconService> favicon_service_;
222 scoped_ptr<AutocompleteClassifier> autocomplete_classifier_; 224 scoped_ptr<AutocompleteClassifier> autocomplete_classifier_;
225 scoped_ptr<UsbService> usb_service_;
223 scoped_refptr<history::ShortcutsBackend> shortcuts_backend_; 226 scoped_refptr<history::ShortcutsBackend> shortcuts_backend_;
224 scoped_refptr<WebDataService> web_data_service_; 227 scoped_refptr<WebDataService> web_data_service_;
225 bool history_service_created_; 228 bool history_service_created_;
226 bool favicon_service_created_; 229 bool favicon_service_created_;
227 bool created_web_data_service_; 230 bool created_web_data_service_;
228 bool clear_local_state_on_exit_; 231 bool clear_local_state_on_exit_;
229 232
230 // Whether or not the last session exited cleanly. This is set only once. 233 // Whether or not the last session exited cleanly. This is set only once.
231 bool last_session_exited_cleanly_; 234 bool last_session_exited_cleanly_;
232 235
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 Profile::Delegate* delegate_; 272 Profile::Delegate* delegate_;
270 273
271 chrome_browser_net::Predictor* predictor_; 274 chrome_browser_net::Predictor* predictor_;
272 275
273 bool session_restore_enabled_; 276 bool session_restore_enabled_;
274 277
275 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 278 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
276 }; 279 };
277 280
278 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 281 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile.h ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698