Index: chrome/browser/ui/webui/options2/options_sync_setup_handler.h |
diff --git a/chrome/browser/ui/webui/options2/options_sync_setup_handler.h b/chrome/browser/ui/webui/options2/options_sync_setup_handler.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a61df179dc8de435a2dc354d4344a2e054f6b51e |
--- /dev/null |
+++ b/chrome/browser/ui/webui/options2/options_sync_setup_handler.h |
@@ -0,0 +1,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_ |