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

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: fixed win warning + indent 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) {
165 return std::string();
166 }
167
161 private: 168 private:
162 std::string expected_username_; 169 std::string expected_username_;
163 std::string expected_password_; 170 std::string expected_password_;
164 std::string auth_token_; 171 std::string auth_token_;
165 chromeos::BackgroundView* background_view_; 172 chromeos::BackgroundView* background_view_;
166 173
167 DISALLOW_COPY_AND_ASSIGN(MockLoginUtils); 174 DISALLOW_COPY_AND_ASSIGN(MockLoginUtils);
168 }; 175 };
169 176
170 } // namespace chromeos 177 } // namespace chromeos
171 178
172 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_AUTHENTICATOR_H_ 179 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_AUTHENTICATOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/login_utils.cc ('k') | chrome/browser/dom_ui/options/options_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698