OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_DOM_UI_IMPORT_DATA_HANDLER_H_ |
| 6 #define CHROME_BROWSER_DOM_UI_IMPORT_DATA_HANDLER_H_ |
| 7 |
| 8 #include "chrome/browser/dom_ui/options_ui.h" |
| 9 #include "chrome/browser/importer/importer.h" |
| 10 |
| 11 // Chrome personal stuff import data overlay UI handler. |
| 12 class ImportDataHandler : public OptionsPageUIHandler { |
| 13 public: |
| 14 ImportDataHandler(); |
| 15 virtual ~ImportDataHandler(); |
| 16 |
| 17 virtual void Initialize(); |
| 18 |
| 19 // OptionsUIHandler implementation. |
| 20 virtual void GetLocalizedValues(DictionaryValue* localized_strings); |
| 21 |
| 22 // DOMMessageHandler implementation. |
| 23 virtual void RegisterMessages(); |
| 24 |
| 25 private: |
| 26 void DetectSupportedBrowsers(); |
| 27 |
| 28 // Utility class that does the actual import. |
| 29 scoped_refptr<ImporterHost> importer_host_; |
| 30 |
| 31 DISALLOW_COPY_AND_ASSIGN(ImportDataHandler); |
| 32 }; |
| 33 |
| 34 #endif // CHROME_BROWSER_DOM_UI_IMPORT_DATA_HANDLER_H_ |
OLD | NEW |