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

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

Issue 861273002: Make TopSites a RefcountedKeyedService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix win compilation Created 5 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
« no previous file with comments | « chrome/browser/jumplist_win.cc ('k') | chrome/browser/profiles/off_the_record_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 #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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 content::URLRequestInterceptorScopedVector request_interceptors) override; 54 content::URLRequestInterceptorScopedVector request_interceptors) override;
55 net::URLRequestContextGetter* CreateRequestContextForStoragePartition( 55 net::URLRequestContextGetter* CreateRequestContextForStoragePartition(
56 const base::FilePath& partition_path, 56 const base::FilePath& partition_path,
57 bool in_memory, 57 bool in_memory,
58 content::ProtocolHandlerMap* protocol_handlers, 58 content::ProtocolHandlerMap* protocol_handlers,
59 content::URLRequestInterceptorScopedVector request_interceptors) override; 59 content::URLRequestInterceptorScopedVector request_interceptors) override;
60 net::SSLConfigService* GetSSLConfigService() override; 60 net::SSLConfigService* GetSSLConfigService() override;
61 HostContentSettingsMap* GetHostContentSettingsMap() override; 61 HostContentSettingsMap* GetHostContentSettingsMap() override;
62 bool IsSameProfile(Profile* profile) override; 62 bool IsSameProfile(Profile* profile) override;
63 Time GetStartTime() const override; 63 Time GetStartTime() const override;
64 history::TopSites* GetTopSitesWithoutCreating() override;
65 history::TopSites* GetTopSites() override;
66 base::FilePath last_selected_directory() override; 64 base::FilePath last_selected_directory() override;
67 void set_last_selected_directory(const base::FilePath& path) override; 65 void set_last_selected_directory(const base::FilePath& path) override;
68 bool WasCreatedByVersionOrLater(const std::string& version) override; 66 bool WasCreatedByVersionOrLater(const std::string& version) override;
69 void SetExitType(ExitType exit_type) override; 67 void SetExitType(ExitType exit_type) override;
70 ExitType GetLastSessionExitType() override; 68 ExitType GetLastSessionExitType() override;
71 69
72 #if defined(OS_CHROMEOS) 70 #if defined(OS_CHROMEOS)
73 void ChangeAppLocale(const std::string& locale, AppLocaleChangedVia) override; 71 void ChangeAppLocale(const std::string& locale, AppLocaleChangedVia) override;
74 void OnLogin() override; 72 void OnLogin() override;
75 void InitChromeOSPreferences() override; 73 void InitChromeOSPreferences() override;
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 Time start_time_; 134 Time start_time_;
137 135
138 base::FilePath last_selected_directory_; 136 base::FilePath last_selected_directory_;
139 137
140 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; 138 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;
141 139
142 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); 140 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl);
143 }; 141 };
144 142
145 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ 143 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/jumplist_win.cc ('k') | chrome/browser/profiles/off_the_record_profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698