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

Side by Side Diff: chrome/browser/chromeos/app_mode/startup_app_launcher.h

Issue 43203002: Remove hacks added to workaround a system salt issue for M31 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 7 years, 1 month 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/app_mode/startup_app_launcher.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_APP_MODE_STARTUP_APP_LAUNCHER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_APP_MODE_STARTUP_APP_LAUNCHER_H_
6 #define CHROME_BROWSER_CHROMEOS_APP_MODE_STARTUP_APP_LAUNCHER_H_ 6 #define CHROME_BROWSER_CHROMEOS_APP_MODE_STARTUP_APP_LAUNCHER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 std::string refresh_token; 71 std::string refresh_token;
72 std::string client_id; 72 std::string client_id;
73 std::string client_secret; 73 std::string client_secret;
74 }; 74 };
75 75
76 void OnLaunchSuccess(); 76 void OnLaunchSuccess();
77 void OnLaunchFailure(KioskAppLaunchError::Error error); 77 void OnLaunchFailure(KioskAppLaunchError::Error error);
78 78
79 void BeginInstall(); 79 void BeginInstall();
80 void InstallCallback(bool success, const std::string& error); 80 void InstallCallback(bool success, const std::string& error);
81 void EnsureSystemSaltIsLoaded(); 81 void OnReadyToLaunch();
82 void OnReadyToLaunch(const std::string& system_salt);
83 82
84 void InitializeTokenService(); 83 void InitializeTokenService();
85 void InitializeNetwork(); 84 void InitializeNetwork();
86 85
87 void StartLoadingOAuthFile(); 86 void StartLoadingOAuthFile();
88 static void LoadOAuthFileOnBlockingPool(KioskOAuthParams* auth_params); 87 static void LoadOAuthFileOnBlockingPool(KioskOAuthParams* auth_params);
89 void OnOAuthFileLoaded(KioskOAuthParams* auth_params); 88 void OnOAuthFileLoaded(KioskOAuthParams* auth_params);
90 89
91 // OAuth2TokenService::Observer overrides. 90 // OAuth2TokenService::Observer overrides.
92 virtual void OnRefreshTokenAvailable(const std::string& account_id) OVERRIDE; 91 virtual void OnRefreshTokenAvailable(const std::string& account_id) OVERRIDE;
(...skipping 10 matching lines...) Expand all
103 102
104 scoped_refptr<extensions::WebstoreStandaloneInstaller> installer_; 103 scoped_refptr<extensions::WebstoreStandaloneInstaller> installer_;
105 KioskOAuthParams auth_params_; 104 KioskOAuthParams auth_params_;
106 105
107 DISALLOW_COPY_AND_ASSIGN(StartupAppLauncher); 106 DISALLOW_COPY_AND_ASSIGN(StartupAppLauncher);
108 }; 107 };
109 108
110 } // namespace chromeos 109 } // namespace chromeos
111 110
112 #endif // CHROME_BROWSER_CHROMEOS_APP_MODE_STARTUP_APP_LAUNCHER_H_ 111 #endif // CHROME_BROWSER_CHROMEOS_APP_MODE_STARTUP_APP_LAUNCHER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/app_mode/startup_app_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698