OLD | NEW |
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_OPTIONS_SYNC_SETUP_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_SYNC_SETUP_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_SYNC_SETUP_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_SYNC_SETUP_HANDLER_H_ |
7 | 7 |
8 #include "chrome/browser/sync/sync_setup_flow_handler.h" | 8 #include "chrome/browser/sync/sync_setup_flow_handler.h" |
9 #include "chrome/browser/ui/webui/options/options_ui.h" | 9 #include "chrome/browser/ui/webui/options/options_ui.h" |
10 | 10 |
(...skipping 22 matching lines...) Expand all Loading... |
33 virtual void SetFlow(SyncSetupFlow* flow); | 33 virtual void SetFlow(SyncSetupFlow* flow); |
34 | 34 |
35 private: | 35 private: |
36 // Callbacks from the page. | 36 // Callbacks from the page. |
37 void OnDidClosePage(const ListValue* args); | 37 void OnDidClosePage(const ListValue* args); |
38 void HandleSubmitAuth(const ListValue* args); | 38 void HandleSubmitAuth(const ListValue* args); |
39 void HandleConfigure(const ListValue* args); | 39 void HandleConfigure(const ListValue* args); |
40 void HandlePassphraseEntry(const ListValue* args); | 40 void HandlePassphraseEntry(const ListValue* args); |
41 void HandlePassphraseCancel(const ListValue* args); | 41 void HandlePassphraseCancel(const ListValue* args); |
42 void HandleAttachHandler(const ListValue* args); | 42 void HandleAttachHandler(const ListValue* args); |
| 43 void HandleShowErrorUI(const ListValue* args); |
43 | 44 |
44 // Weak reference. | 45 // Weak reference. |
45 SyncSetupFlow* flow_; | 46 SyncSetupFlow* flow_; |
46 | 47 |
47 DISALLOW_COPY_AND_ASSIGN(SyncSetupHandler); | 48 DISALLOW_COPY_AND_ASSIGN(SyncSetupHandler); |
48 }; | 49 }; |
49 | 50 |
50 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_SYNC_SETUP_HANDLER_H_ | 51 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_SYNC_SETUP_HANDLER_H_ |
OLD | NEW |