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

Side by Side Diff: chrome/browser/chromeos/login/mock_authenticator.h

Issue 6272016: Prevent non-Incognito windows in the Guest session. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome/browser
Patch Set: easy reading Created 9 years, 10 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_MOCK_AUTHENTICATOR_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_AUTHENTICATOR_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_AUTHENTICATOR_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_AUTHENTICATOR_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 } 151 }
152 152
153 void SetBackgroundView(BackgroundView* background_view) { 153 void SetBackgroundView(BackgroundView* background_view) {
154 background_view_ = background_view; 154 background_view_ = background_view;
155 } 155 }
156 156
157 BackgroundView* GetBackgroundView() { 157 BackgroundView* GetBackgroundView() {
158 return background_view_; 158 return background_view_;
159 } 159 }
160 160
161 virtual std::string GetOffTheRecordCommandLine(
162 const GURL& start_url,
163 const CommandLine& base_command_line,
164 CommandLine* command_line) { return std::string(); }
Evan Stade 2011/01/31 21:06:22 function body on new line
altimofeev 2011/02/01 12:42:15 Done.
165
161 private: 166 private:
162 std::string expected_username_; 167 std::string expected_username_;
163 std::string expected_password_; 168 std::string expected_password_;
164 std::string auth_token_; 169 std::string auth_token_;
165 chromeos::BackgroundView* background_view_; 170 chromeos::BackgroundView* background_view_;
166 171
167 DISALLOW_COPY_AND_ASSIGN(MockLoginUtils); 172 DISALLOW_COPY_AND_ASSIGN(MockLoginUtils);
168 }; 173 };
169 174
170 } // namespace chromeos 175 } // namespace chromeos
171 176
172 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_AUTHENTICATOR_H_ 177 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_AUTHENTICATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698