OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_UTILITY_IMPORTER_BOOKMARKS_FILE_IMPORTER_H_ | 5 #ifndef CHROME_UTILITY_IMPORTER_BOOKMARKS_FILE_IMPORTER_H_ |
6 #define CHROME_UTILITY_IMPORTER_BOOKMARKS_FILE_IMPORTER_H_ | 6 #define CHROME_UTILITY_IMPORTER_BOOKMARKS_FILE_IMPORTER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include <stdint.h> |
| 9 |
9 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" |
10 #include "chrome/utility/importer/importer.h" | 12 #include "chrome/utility/importer/importer.h" |
11 | 13 |
12 // Importer for bookmarks files. | 14 // Importer for bookmarks files. |
13 class BookmarksFileImporter : public Importer { | 15 class BookmarksFileImporter : public Importer { |
14 public: | 16 public: |
15 BookmarksFileImporter(); | 17 BookmarksFileImporter(); |
16 | 18 |
17 void StartImport(const importer::SourceProfile& source_profile, | 19 void StartImport(const importer::SourceProfile& source_profile, |
18 uint16 items, | 20 uint16_t items, |
19 ImporterBridge* bridge) override; | 21 ImporterBridge* bridge) override; |
20 | 22 |
21 private: | 23 private: |
22 ~BookmarksFileImporter() override; | 24 ~BookmarksFileImporter() override; |
23 | 25 |
24 DISALLOW_COPY_AND_ASSIGN(BookmarksFileImporter); | 26 DISALLOW_COPY_AND_ASSIGN(BookmarksFileImporter); |
25 }; | 27 }; |
26 | 28 |
27 #endif // CHROME_UTILITY_IMPORTER_BOOKMARKS_FILE_IMPORTER_H_ | 29 #endif // CHROME_UTILITY_IMPORTER_BOOKMARKS_FILE_IMPORTER_H_ |
OLD | NEW |