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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_UTILS_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_UTILS_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_UTILS_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_UTILS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 // Transfers HTTP authentication cache from the |default_profile| | 116 // Transfers HTTP authentication cache from the |default_profile| |
117 // into the |new_profile|. If user was required to authenticate with a proxy | 117 // into the |new_profile|. If user was required to authenticate with a proxy |
118 // during the login, this authentication information will be transferred | 118 // during the login, this authentication information will be transferred |
119 // into the new session. | 119 // into the new session. |
120 virtual void TransferDefaultAuthCache(Profile* default_profile, | 120 virtual void TransferDefaultAuthCache(Profile* default_profile, |
121 Profile* new_profile) = 0; | 121 Profile* new_profile) = 0; |
122 | 122 |
123 // Stops background fetchers. | 123 // Stops background fetchers. |
124 virtual void StopBackgroundFetchers() = 0; | 124 virtual void StopBackgroundFetchers() = 0; |
125 | 125 |
| 126 // Initialize RLZ. |
| 127 virtual void InitRlzDelayed(Profile* user_profile) = 0; |
| 128 |
126 protected: | 129 protected: |
127 friend class ::BrowserGuestSessionNavigatorTest; | 130 friend class ::BrowserGuestSessionNavigatorTest; |
128 | 131 |
129 // Returns command line string to be used for the OTR process. Also modifies | 132 // Returns command line string to be used for the OTR process. Also modifies |
130 // given command line. | 133 // given command line. |
131 virtual std::string GetOffTheRecordCommandLine( | 134 virtual std::string GetOffTheRecordCommandLine( |
132 const GURL& start_url, | 135 const GURL& start_url, |
133 const CommandLine& base_command_line, | 136 const CommandLine& base_command_line, |
134 CommandLine* command_line) = 0; | 137 CommandLine* command_line) = 0; |
135 }; | 138 }; |
136 | 139 |
137 } // namespace chromeos | 140 } // namespace chromeos |
138 | 141 |
139 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_UTILS_H_ | 142 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_UTILS_H_ |
OLD | NEW |