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

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

Issue 1055863002: ChromeOS: switch UI language before apps are loaded. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update after review. Created 5 years, 8 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
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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 base::FilePath last_selected_directory() override; 66 base::FilePath last_selected_directory() override;
67 void set_last_selected_directory(const base::FilePath& path) override; 67 void set_last_selected_directory(const base::FilePath& path) override;
68 bool WasCreatedByVersionOrLater(const std::string& version) override; 68 bool WasCreatedByVersionOrLater(const std::string& version) override;
69 void SetExitType(ExitType exit_type) override; 69 void SetExitType(ExitType exit_type) override;
70 ExitType GetLastSessionExitType() override; 70 ExitType GetLastSessionExitType() override;
71 71
72 #if defined(OS_CHROMEOS) 72 #if defined(OS_CHROMEOS)
73 void ChangeAppLocale(const std::string& locale, AppLocaleChangedVia) override; 73 void ChangeAppLocale(const std::string& locale, AppLocaleChangedVia) override;
74 void OnLogin() override; 74 void OnLogin() override;
75 void InitChromeOSPreferences() override; 75 void InitChromeOSPreferences() override;
76 void SetOnPrefsLoadedHook(
77 const base::Callback<void(Profile*, const base::Closure&)>& callback)
78 override;
76 #endif // defined(OS_CHROMEOS) 79 #endif // defined(OS_CHROMEOS)
77 80
78 PrefProxyConfigTracker* GetProxyConfigTracker() override; 81 PrefProxyConfigTracker* GetProxyConfigTracker() override;
79 82
80 chrome_browser_net::Predictor* GetNetworkPredictor() override; 83 chrome_browser_net::Predictor* GetNetworkPredictor() override;
81 DevToolsNetworkController* GetDevToolsNetworkController() override; 84 DevToolsNetworkController* GetDevToolsNetworkController() override;
82 void ClearNetworkingHistorySince(base::Time time, 85 void ClearNetworkingHistorySince(base::Time time,
83 const base::Closure& completion) override; 86 const base::Closure& completion) override;
84 GURL GetHomePage() override; 87 GURL GetHomePage() override;
85 88
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 Time start_time_; 143 Time start_time_;
141 144
142 base::FilePath last_selected_directory_; 145 base::FilePath last_selected_directory_;
143 146
144 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; 147 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;
145 148
146 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); 149 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl);
147 }; 150 };
148 151
149 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ 152 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698