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

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

Issue 6625076: Removing references to off the record in comments and log messages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 9 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_AUTHENTICATOR_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_AUTHENTICATOR_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_AUTHENTICATOR_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_AUTHENTICATOR_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/ref_counted.h" 10 #include "base/ref_counted.h"
(...skipping 29 matching lines...) Expand all
40 const std::string& login_token, 40 const std::string& login_token,
41 const std::string& login_captcha) = 0; 41 const std::string& login_captcha) = 0;
42 42
43 // Given a |username| and |password|, this method attempts to 43 // Given a |username| and |password|, this method attempts to
44 // authenticate to unlock the computer. 44 // authenticate to unlock the computer.
45 // Returns true if we kick off the attempt successfully and false if 45 // Returns true if we kick off the attempt successfully and false if
46 // we can't. Must be called on the UI thread. 46 // we can't. Must be called on the UI thread.
47 virtual bool AuthenticateToUnlock(const std::string& username, 47 virtual bool AuthenticateToUnlock(const std::string& username,
48 const std::string& password) = 0; 48 const std::string& password) = 0;
49 49
50 // Initiates off the record ("browse without signing in") login. 50 // Initiates incognito ("browse without signing in") login.
51 virtual void LoginOffTheRecord() = 0; 51 virtual void LoginOffTheRecord() = 0;
52 52
53 // |credentials| are the tokens that we get back from the ClientLogin API. 53 // |credentials| are the tokens that we get back from the ClientLogin API.
54 // |request_pending| is true if we still plan to call consumer_ with the 54 // |request_pending| is true if we still plan to call consumer_ with the
55 // results of more requests. 55 // results of more requests.
56 // Must be called on the UI thread. 56 // Must be called on the UI thread.
57 virtual void OnLoginSuccess( 57 virtual void OnLoginSuccess(
58 const GaiaAuthConsumer::ClientLoginResult& credentials, 58 const GaiaAuthConsumer::ClientLoginResult& credentials,
59 bool request_pending) = 0; 59 bool request_pending) = 0;
60 60
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 protected: 96 protected:
97 LoginStatusConsumer* consumer_; 97 LoginStatusConsumer* consumer_;
98 98
99 private: 99 private:
100 DISALLOW_COPY_AND_ASSIGN(Authenticator); 100 DISALLOW_COPY_AND_ASSIGN(Authenticator);
101 }; 101 };
102 102
103 } // namespace chromeos 103 } // namespace chromeos
104 104
105 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_AUTHENTICATOR_H_ 105 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_AUTHENTICATOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/background_contents_service.cc ('k') | chrome/browser/chromeos/login/google_authenticator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698