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

Side by Side Diff: chrome/browser/ui/webui/sync_setup_handler.h

Issue 8589033: [Sync] Change std::wstring to string16 in SyncSetupFlowHandler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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
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_UI_WEBUI_SYNC_SETUP_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_SYNC_SETUP_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_SYNC_SETUP_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_SYNC_SETUP_HANDLER_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "chrome/browser/net/gaia/gaia_oauth_consumer.h" 9 #include "chrome/browser/net/gaia/gaia_oauth_consumer.h"
10 #include "chrome/browser/net/gaia/gaia_oauth_fetcher.h" 10 #include "chrome/browser/net/gaia/gaia_oauth_fetcher.h"
(...skipping 18 matching lines...) Expand all
29 virtual void RegisterMessages() OVERRIDE; 29 virtual void RegisterMessages() OVERRIDE;
30 30
31 // SyncSetupFlowHandler implementation. 31 // SyncSetupFlowHandler implementation.
32 virtual void ShowOAuthLogin() OVERRIDE; 32 virtual void ShowOAuthLogin() OVERRIDE;
33 virtual void ShowGaiaLogin(const base::DictionaryValue& args) OVERRIDE; 33 virtual void ShowGaiaLogin(const base::DictionaryValue& args) OVERRIDE;
34 virtual void ShowGaiaSuccessAndClose() OVERRIDE; 34 virtual void ShowGaiaSuccessAndClose() OVERRIDE;
35 virtual void ShowGaiaSuccessAndSettingUp() OVERRIDE; 35 virtual void ShowGaiaSuccessAndSettingUp() OVERRIDE;
36 virtual void ShowConfigure(const base::DictionaryValue& args) OVERRIDE; 36 virtual void ShowConfigure(const base::DictionaryValue& args) OVERRIDE;
37 virtual void ShowPassphraseEntry(const base::DictionaryValue& args) OVERRIDE; 37 virtual void ShowPassphraseEntry(const base::DictionaryValue& args) OVERRIDE;
38 virtual void ShowSettingUp() OVERRIDE; 38 virtual void ShowSettingUp() OVERRIDE;
39 virtual void ShowSetupDone(const std::wstring& user) OVERRIDE; 39 virtual void ShowSetupDone(const string16& user) OVERRIDE;
40 virtual void SetFlow(SyncSetupFlow* flow) OVERRIDE; 40 virtual void SetFlow(SyncSetupFlow* flow) OVERRIDE;
41 virtual void Focus() OVERRIDE; 41 virtual void Focus() OVERRIDE;
42 42
43 // GaiaOAuthConsumer implementation. 43 // GaiaOAuthConsumer implementation.
44 virtual void OnGetOAuthTokenSuccess(const std::string& oauth_token) OVERRIDE; 44 virtual void OnGetOAuthTokenSuccess(const std::string& oauth_token) OVERRIDE;
45 virtual void OnGetOAuthTokenFailure( 45 virtual void OnGetOAuthTokenFailure(
46 const GoogleServiceAuthError& error) OVERRIDE; 46 const GoogleServiceAuthError& error) OVERRIDE;
47 47
48 static void GetStaticLocalizedValues( 48 static void GetStaticLocalizedValues(
49 base::DictionaryValue* localized_strings); 49 base::DictionaryValue* localized_strings);
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 // Weak reference. 103 // Weak reference.
104 SyncSetupFlow* flow_; 104 SyncSetupFlow* flow_;
105 scoped_ptr<GaiaOAuthFetcher> oauth_login_; 105 scoped_ptr<GaiaOAuthFetcher> oauth_login_;
106 // Weak reference to the profile manager. 106 // Weak reference to the profile manager.
107 ProfileManager* const profile_manager_; 107 ProfileManager* const profile_manager_;
108 108
109 DISALLOW_COPY_AND_ASSIGN(SyncSetupHandler); 109 DISALLOW_COPY_AND_ASSIGN(SyncSetupHandler);
110 }; 110 };
111 111
112 #endif // CHROME_BROWSER_UI_WEBUI_SYNC_SETUP_HANDLER_H_ 112 #endif // CHROME_BROWSER_UI_WEBUI_SYNC_SETUP_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/sync_setup_wizard_unittest.cc ('k') | chrome/browser/ui/webui/sync_setup_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698