blob: 6a8ef2c24cf116af85aac0bd05da2c228bc23eed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_SYNC_SYNC_SETUP_FLOW_HANDLER_H_
#define CHROME_BROWSER_SYNC_SYNC_SETUP_FLOW_HANDLER_H_
#pragma once
#include <string>
class SyncSetupFlow;
namespace base {
class DictionaryValue;
}
class SyncSetupFlowHandler {
public:
// These functions control which part of the HTML is visible.
virtual void ShowFatalError() = 0;
virtual void ShowConfigure(const base::DictionaryValue& args) = 0;
virtual void ShowPassphraseEntry(const base::DictionaryValue& args) = 0;
virtual void ShowSettingUp() = 0;
virtual void ShowSetupDone(const string16& user) = 0;
virtual void SetFlow(SyncSetupFlow* flow) = 0;
virtual void Focus() = 0;
protected:
virtual ~SyncSetupFlowHandler() {}
};
#endif // CHROME_BROWSER_SYNC_SYNC_SETUP_FLOW_HANDLER_H_
|