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

Side by Side Diff: chrome/browser/sync/sync_setup_flow_handler.h

Issue 7193031: Move UI specific implementation from ProfileSyncService to SyncSetupFlowHandler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Upload after merge. Created 9 years, 5 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
« no previous file with comments | « chrome/browser/sync/sync_setup_flow.cc ('k') | chrome/browser/sync/sync_setup_wizard.h » ('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 (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_SYNC_SYNC_SETUP_FLOW_HANDLER_H_ 5 #ifndef CHROME_BROWSER_SYNC_SYNC_SETUP_FLOW_HANDLER_H_
6 #define CHROME_BROWSER_SYNC_SYNC_SETUP_FLOW_HANDLER_H_ 6 #define CHROME_BROWSER_SYNC_SYNC_SETUP_FLOW_HANDLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 class SyncSetupFlow; 11 class SyncSetupFlow;
12 12
13 namespace base { 13 namespace base {
14 class DictionaryValue; 14 class DictionaryValue;
15 } 15 }
16 16
17 class SyncSetupFlowHandler { 17 class SyncSetupFlowHandler {
18 public: 18 public:
19 // These functions control which part of the HTML is visible. 19 // These functions control which part of the HTML is visible.
20 virtual void ShowGaiaLogin(const base::DictionaryValue& args) = 0; 20 virtual void ShowGaiaLogin(const base::DictionaryValue& args) = 0;
21 virtual void ShowGaiaSuccessAndClose() = 0; 21 virtual void ShowGaiaSuccessAndClose() = 0;
22 virtual void ShowGaiaSuccessAndSettingUp() = 0; 22 virtual void ShowGaiaSuccessAndSettingUp() = 0;
23 virtual void ShowConfigure(const base::DictionaryValue& args) = 0; 23 virtual void ShowConfigure(const base::DictionaryValue& args) = 0;
24 virtual void ShowPassphraseEntry(const base::DictionaryValue& args) = 0; 24 virtual void ShowPassphraseEntry(const base::DictionaryValue& args) = 0;
25 virtual void ShowSettingUp() = 0; 25 virtual void ShowSettingUp() = 0;
26 virtual void ShowSetupDone(const std::wstring& user) = 0; 26 virtual void ShowSetupDone(const std::wstring& user) = 0;
27 virtual void SetFlow(SyncSetupFlow* flow) = 0; 27 virtual void SetFlow(SyncSetupFlow* flow) = 0;
28 virtual void Focus() = 0; 28 virtual void Focus() = 0;
29 virtual void ShowSyncSetup() = 0;
29 30
30 protected: 31 protected:
31 virtual ~SyncSetupFlowHandler() {} 32 virtual ~SyncSetupFlowHandler() {}
32 }; 33 };
33 34
34 #endif // CHROME_BROWSER_SYNC_SYNC_SETUP_FLOW_HANDLER_H_ 35 #endif // CHROME_BROWSER_SYNC_SYNC_SETUP_FLOW_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/sync_setup_flow.cc ('k') | chrome/browser/sync/sync_setup_wizard.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698