| OLD | NEW | 
|    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  |    9  | 
|   10 #include <string> |   10 #include <string> | 
|   11  |   11  | 
|   12 #include "base/files/file_path.h" |   12 #include "base/files/file_path.h" | 
|   13 #include "base/gtest_prod_util.h" |   13 #include "base/gtest_prod_util.h" | 
|   14 #include "base/memory/ref_counted.h" |   14 #include "base/memory/ref_counted.h" | 
|   15 #include "base/memory/scoped_ptr.h" |   15 #include "base/memory/scoped_ptr.h" | 
|   16 #include "base/prefs/public/pref_change_registrar.h" |   16 #include "base/prefs/public/pref_change_registrar.h" | 
|   17 #include "base/timer.h" |   17 #include "base/timer.h" | 
|   18 #include "chrome/browser/profiles/profile.h" |   18 #include "chrome/browser/profiles/profile.h" | 
|   19 #include "chrome/browser/profiles/profile_impl_io_data.h" |   19 #include "chrome/browser/profiles/profile_impl_io_data.h" | 
 |   20 #include "content/public/browser/content_browser_client.h" | 
|   20 #include "content/public/browser/host_zoom_map.h" |   21 #include "content/public/browser/host_zoom_map.h" | 
|   21  |   22  | 
|   22 class NetPrefObserver; |   23 class NetPrefObserver; | 
|   23 class PrefRegistrySyncable; |   24 class PrefRegistrySyncable; | 
|   24 class PrefService; |   25 class PrefService; | 
|   25 class PrefServiceSyncable; |   26 class PrefServiceSyncable; | 
|   26 class SSLConfigServiceManager; |   27 class SSLConfigServiceManager; | 
|   27  |   28  | 
|   28 #if defined(OS_CHROMEOS) |   29 #if defined(OS_CHROMEOS) | 
|   29 namespace chromeos { |   30 namespace chromeos { | 
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   99   virtual PrefService* GetPrefs() OVERRIDE; |  100   virtual PrefService* GetPrefs() OVERRIDE; | 
|  100   virtual PrefService* GetOffTheRecordPrefs() OVERRIDE; |  101   virtual PrefService* GetOffTheRecordPrefs() OVERRIDE; | 
|  101   virtual net::URLRequestContextGetter* |  102   virtual net::URLRequestContextGetter* | 
|  102       GetRequestContextForExtensions() OVERRIDE; |  103       GetRequestContextForExtensions() OVERRIDE; | 
|  103   virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; |  104   virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; | 
|  104   virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE; |  105   virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE; | 
|  105   virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() OVERRIDE; |  106   virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() OVERRIDE; | 
|  106   virtual bool IsSameProfile(Profile* profile) OVERRIDE; |  107   virtual bool IsSameProfile(Profile* profile) OVERRIDE; | 
|  107   virtual base::Time GetStartTime() const OVERRIDE; |  108   virtual base::Time GetStartTime() const OVERRIDE; | 
|  108   virtual net::URLRequestContextGetter* CreateRequestContext( |  109   virtual net::URLRequestContextGetter* CreateRequestContext( | 
|  109       scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |  110       content::ProtocolHandlerMap* protocol_handlers) OVERRIDE; | 
|  110           blob_protocol_handler, |  | 
|  111       scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |  | 
|  112           file_system_protocol_handler, |  | 
|  113       scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |  | 
|  114           developer_protocol_handler, |  | 
|  115       scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |  | 
|  116           chrome_protocol_handler, |  | 
|  117       scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |  | 
|  118           chrome_devtools_protocol_handler) OVERRIDE; |  | 
|  119   virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( |  111   virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( | 
|  120       const base::FilePath& partition_path, |  112       const base::FilePath& partition_path, | 
|  121       bool in_memory, |  113       bool in_memory, | 
|  122       scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |  114       content::ProtocolHandlerMap* protocol_handlers) OVERRIDE; | 
|  123           blob_protocol_handler, |  | 
|  124       scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |  | 
|  125           file_system_protocol_handler, |  | 
|  126       scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |  | 
|  127           developer_protocol_handler, |  | 
|  128       scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |  | 
|  129           chrome_protocol_handler, |  | 
|  130       scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |  | 
|  131           chrome_devtools_protocol_handler) OVERRIDE; |  | 
|  132   virtual base::FilePath last_selected_directory() OVERRIDE; |  115   virtual base::FilePath last_selected_directory() OVERRIDE; | 
|  133   virtual void set_last_selected_directory(const base::FilePath& path) OVERRIDE; |  116   virtual void set_last_selected_directory(const base::FilePath& path) OVERRIDE; | 
|  134   virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE; |  117   virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE; | 
|  135   virtual void ClearNetworkingHistorySince( |  118   virtual void ClearNetworkingHistorySince( | 
|  136       base::Time time, |  119       base::Time time, | 
|  137       const base::Closure& completion) OVERRIDE; |  120       const base::Closure& completion) OVERRIDE; | 
|  138   virtual GURL GetHomePage() OVERRIDE; |  121   virtual GURL GetHomePage() OVERRIDE; | 
|  139   virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; |  122   virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; | 
|  140   virtual void SetExitType(ExitType exit_type) OVERRIDE; |  123   virtual void SetExitType(ExitType exit_type) OVERRIDE; | 
|  141   virtual ExitType GetLastSessionExitType() OVERRIDE; |  124   virtual ExitType GetLastSessionExitType() OVERRIDE; | 
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  284   //   chrome/browser/profile/profile_keyed_dependency_manager.{h,cc} |  267   //   chrome/browser/profile/profile_keyed_dependency_manager.{h,cc} | 
|  285  |  268  | 
|  286   Profile::Delegate* delegate_; |  269   Profile::Delegate* delegate_; | 
|  287  |  270  | 
|  288   chrome_browser_net::Predictor* predictor_; |  271   chrome_browser_net::Predictor* predictor_; | 
|  289  |  272  | 
|  290   DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |  273   DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 
|  291 }; |  274 }; | 
|  292  |  275  | 
|  293 #endif  // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |  276 #endif  // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 
| OLD | NEW |