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

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

Issue 7584026: Encrypted OAuth1 all access token and secret with system salt for now, will replace this with use... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 74
75 // Prewarms the authentication network connection. 75 // Prewarms the authentication network connection.
76 virtual void PrewarmAuthentication() = 0; 76 virtual void PrewarmAuthentication() = 0;
77 77
78 // Given the credentials try to exchange them for 78 // Given the credentials try to exchange them for
79 // full-fledged Google authentication cookies. 79 // full-fledged Google authentication cookies.
80 virtual void FetchCookies( 80 virtual void FetchCookies(
81 Profile* profile, 81 Profile* profile,
82 const GaiaAuthConsumer::ClientLoginResult& credentials) = 0; 82 const GaiaAuthConsumer::ClientLoginResult& credentials) = 0;
83 83
84 // Starts OAuth2 token retrieval and kicks off services that depend on it.
85 virtual void StartTokenServices(Profile* profile) = 0;
86
84 // Supply credentials for sync and others to use. 87 // Supply credentials for sync and others to use.
85 virtual void StartSync( 88 virtual void StartSync(
86 Profile* profile, 89 Profile* profile,
87 const GaiaAuthConsumer::ClientLoginResult& credentials) = 0; 90 const GaiaAuthConsumer::ClientLoginResult& credentials) = 0;
88 91
89 // Sets the current background view. 92 // Sets the current background view.
90 virtual void SetBackgroundView(BackgroundView* background_view) = 0; 93 virtual void SetBackgroundView(BackgroundView* background_view) = 0;
91 94
92 // Gets the current background view. 95 // Gets the current background view.
93 virtual BackgroundView* GetBackgroundView() = 0; 96 virtual BackgroundView* GetBackgroundView() = 0;
(...skipping 13 matching lines...) Expand all
107 // given command line. 110 // given command line.
108 virtual std::string GetOffTheRecordCommandLine( 111 virtual std::string GetOffTheRecordCommandLine(
109 const GURL& start_url, 112 const GURL& start_url,
110 const CommandLine& base_command_line, 113 const CommandLine& base_command_line,
111 CommandLine* command_line) = 0; 114 CommandLine* command_line) = 0;
112 }; 115 };
113 116
114 } // namespace chromeos 117 } // namespace chromeos
115 118
116 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_UTILS_H_ 119 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_UTILS_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/login_performer.cc ('k') | chrome/browser/chromeos/login/login_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698