Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Side by Side Diff: chrome/common/importer/importer_type.h

Issue 1465853002: Implement support for importing favorites from Edge on Windows 10. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added missing include files Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_COMMON_IMPORTER_IMPORTER_TYPE_H_ 5 #ifndef CHROME_COMMON_IMPORTER_IMPORTER_TYPE_H_
6 #define CHROME_COMMON_IMPORTER_IMPORTER_TYPE_H_ 6 #define CHROME_COMMON_IMPORTER_IMPORTER_TYPE_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 namespace importer { 10 namespace importer {
11 11
12 // An enumeration of the type of importers that we support to import 12 // An enumeration of the type of importers that we support to import
13 // settings and data from (browsers, google toolbar and a bookmarks html file). 13 // settings and data from (browsers, google toolbar and a bookmarks html file).
14 // NOTE: Numbers added so that data can be reliably cast to ints and passed 14 // NOTE: Numbers added so that data can be reliably cast to ints and passed
15 // across IPC. 15 // across IPC.
16 enum ImporterType { 16 enum ImporterType {
17 TYPE_UNKNOWN = -1, 17 TYPE_UNKNOWN = -1,
18 #if defined(OS_WIN) 18 #if defined(OS_WIN)
19 TYPE_IE = 0, 19 TYPE_IE = 0,
20 #endif 20 #endif
21 // Value 1 was the (now deleted) Firefox 2 profile importer. 21 // Value 1 was the (now deleted) Firefox 2 profile importer.
22 TYPE_FIREFOX = 2, 22 TYPE_FIREFOX = 2,
23 #if defined(OS_MACOSX) 23 #if defined(OS_MACOSX)
24 TYPE_SAFARI = 3, 24 TYPE_SAFARI = 3,
25 #endif 25 #endif
26 // Value 4 was the (now deleted) Google Toolbar importer. 26 // Value 4 was the (now deleted) Google Toolbar importer.
27 TYPE_BOOKMARKS_FILE = 5 // Identifies a 'bookmarks.html' file. 27 TYPE_BOOKMARKS_FILE = 5, // Identifies a 'bookmarks.html' file.
28 #if defined(OS_WIN)
29 TYPE_EDGE = 6,
30 #endif
28 }; 31 };
29 32
30 } // namespace importer 33 } // namespace importer
31 34
32 35
33 #endif // CHROME_COMMON_IMPORTER_IMPORTER_TYPE_H_ 36 #endif // CHROME_COMMON_IMPORTER_IMPORTER_TYPE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698