summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/webui/options2/options_sync_setup_handler.h
blob: a61df179dc8de435a2dc354d4344a2e054f6b51e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (c) 2011 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_UI_WEBUI_OPTIONS2_OPTIONS_SYNC_SETUP_HANDLER_H_
#define CHROME_BROWSER_UI_WEBUI_OPTIONS2_OPTIONS_SYNC_SETUP_HANDLER_H_

#include "chrome/browser/ui/webui/sync_setup_handler2.h"

// The handler for Javascript messages related to sync setup UI in the options
// page.
class OptionsSyncSetupHandler : public SyncSetupHandler2 {
 public:
  explicit OptionsSyncSetupHandler(ProfileManager* profile_manager);
  virtual ~OptionsSyncSetupHandler();

 protected:
  virtual void StepWizardForShowSetupUI() OVERRIDE;
  virtual void ShowSetupUI() OVERRIDE;
};

#endif  // CHROME_BROWSER_UI_WEBUI_OPTIONS2_OPTIONS_SYNC_SETUP_HANDLER_H_