Index: chrome/browser/importer/importer_data_types.h |
=================================================================== |
--- chrome/browser/importer/importer_data_types.h (revision 47674) |
+++ chrome/browser/importer/importer_data_types.h (working copy) |
@@ -1,58 +0,0 @@ |
-// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#ifndef CHROME_BROWSER_IMPORTER_IMPORTER_DATA_TYPES_H_ |
-#define CHROME_BROWSER_IMPORTER_IMPORTER_DATA_TYPES_H_ |
- |
-#include <string> |
- |
-#include "base/basictypes.h" |
-#include "base/file_path.h" |
- |
-// Types needed for importing data from other browsers and the Google |
-// Toolbar. |
-namespace importer { |
- |
-// An enumeration of the type of data that can be imported. |
-enum ImportItem { |
- NONE = 0, |
- HISTORY = 1 << 0, |
- FAVORITES = 1 << 1, |
- COOKIES = 1 << 2, // Not supported yet. |
- PASSWORDS = 1 << 3, |
- SEARCH_ENGINES = 1 << 4, |
- HOME_PAGE = 1 << 5, |
- ALL = (1 << 6) - 1 // All the bits should be 1, hence the -1. |
-}; |
- |
-// An enumeration of the type of browsers that we support to import |
-// settings and data from them. Numbers added so that data can be |
-// reliably cast to ints and passed across IPC. |
-enum ProfileType { |
-#if defined(OS_WIN) |
- MS_IE = 0, |
-#endif |
- FIREFOX2 = 1, |
- FIREFOX3 = 2, |
-#if defined(OS_MACOSX) |
- SAFARI = 3, |
-#endif |
- GOOGLE_TOOLBAR5 = 4, |
- // Identifies a 'bookmarks.html' file. |
- BOOKMARKS_HTML = 5 |
-}; |
- |
-// Information about a profile needed by an importer to do import work. |
-struct ProfileInfo { |
- std::wstring description; |
- importer::ProfileType browser_type; |
- FilePath source_path; |
- FilePath app_path; |
- uint16 services_supported; // Bitmask of ImportItem. |
-}; |
- |
-} // namespace importer |
- |
-#endif // CHROME_BROWSER_IMPORTER_IMPORTER_DATA_TYPES_H_ |
- |