OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_OPTIONS2_IMPORT_DATA_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_IMPORT_DATA_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_IMPORT_DATA_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_IMPORT_DATA_HANDLER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "chrome/browser/importer/importer_data_types.h" | 11 #include "chrome/browser/importer/importer_data_types.h" |
12 #include "chrome/browser/importer/importer_list_observer.h" | 12 #include "chrome/browser/importer/importer_list_observer.h" |
13 #include "chrome/browser/importer/importer_progress_observer.h" | 13 #include "chrome/browser/importer/importer_progress_observer.h" |
14 #include "chrome/browser/ui/webui/options2/options_ui.h" | 14 #include "chrome/browser/ui/webui/options/options_ui.h" |
15 | 15 |
16 class ImporterHost; | 16 class ImporterHost; |
17 class ImporterList; | 17 class ImporterList; |
18 | 18 |
19 namespace options { | 19 namespace options { |
20 | 20 |
21 // Chrome personal stuff import data overlay UI handler. | 21 // Chrome personal stuff import data overlay UI handler. |
22 class ImportDataHandler : public OptionsPageUIHandler, | 22 class ImportDataHandler : public OptionsPageUIHandler, |
23 public importer::ImporterListObserver, | 23 public importer::ImporterListObserver, |
24 public importer::ImporterProgressObserver { | 24 public importer::ImporterProgressObserver { |
(...skipping 28 matching lines...) Expand all Loading... |
53 // of deleting itself when import is complete. | 53 // of deleting itself when import is complete. |
54 ImporterHost* importer_host_; // weak | 54 ImporterHost* importer_host_; // weak |
55 | 55 |
56 bool import_did_succeed_; | 56 bool import_did_succeed_; |
57 | 57 |
58 DISALLOW_COPY_AND_ASSIGN(ImportDataHandler); | 58 DISALLOW_COPY_AND_ASSIGN(ImportDataHandler); |
59 }; | 59 }; |
60 | 60 |
61 } // namespace options | 61 } // namespace options |
62 | 62 |
63 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_IMPORT_DATA_HANDLER_H_ | 63 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_IMPORT_DATA_HANDLER_H_ |
OLD | NEW |