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

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

Issue 11689004: Move PromoResourceService from Profile to BrowserProcessImpl/local_state(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: android x 4 Created 7 years, 11 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) 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_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ 5 #ifndef CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_
6 #define CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ 6 #define CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 virtual net::URLRequestContextGetter* GetRequestContextForStoragePartition( 53 virtual net::URLRequestContextGetter* GetRequestContextForStoragePartition(
54 const FilePath& partition_path, 54 const FilePath& partition_path,
55 bool in_memory) OVERRIDE; 55 bool in_memory) OVERRIDE;
56 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; 56 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE;
57 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE; 57 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE;
58 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() OVERRIDE; 58 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() OVERRIDE;
59 virtual bool IsSameProfile(Profile* profile) OVERRIDE; 59 virtual bool IsSameProfile(Profile* profile) OVERRIDE;
60 virtual Time GetStartTime() const OVERRIDE; 60 virtual Time GetStartTime() const OVERRIDE;
61 virtual history::TopSites* GetTopSitesWithoutCreating() OVERRIDE; 61 virtual history::TopSites* GetTopSitesWithoutCreating() OVERRIDE;
62 virtual history::TopSites* GetTopSites() OVERRIDE; 62 virtual history::TopSites* GetTopSites() OVERRIDE;
63 virtual void InitPromoResources() OVERRIDE;
64 virtual FilePath last_selected_directory() OVERRIDE; 63 virtual FilePath last_selected_directory() OVERRIDE;
65 virtual void set_last_selected_directory(const FilePath& path) OVERRIDE; 64 virtual void set_last_selected_directory(const FilePath& path) OVERRIDE;
66 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; 65 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE;
67 virtual void SetExitType(ExitType exit_type) OVERRIDE; 66 virtual void SetExitType(ExitType exit_type) OVERRIDE;
68 virtual ExitType GetLastSessionExitType() OVERRIDE; 67 virtual ExitType GetLastSessionExitType() OVERRIDE;
69 68
70 #if defined(OS_CHROMEOS) 69 #if defined(OS_CHROMEOS)
71 virtual void SetupChromeOSEnterpriseExtensionObserver() OVERRIDE; 70 virtual void SetupChromeOSEnterpriseExtensionObserver() OVERRIDE;
72 virtual void InitChromeOSPreferences() OVERRIDE; 71 virtual void InitChromeOSPreferences() OVERRIDE;
73 72
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 Time start_time_; 139 Time start_time_;
141 140
142 FilePath last_selected_directory_; 141 FilePath last_selected_directory_;
143 142
144 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; 143 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;
145 144
146 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); 145 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl);
147 }; 146 };
148 147
149 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ 148 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698