| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 // The functionality provided here allows the user to import their bookmarks | 5 // The functionality provided here allows the user to import their bookmarks |
| 6 // (favorites) from Google Toolbar. | 6 // (favorites) from Google Toolbar. |
| 7 | 7 |
| 8 #ifndef CHROME_BROWSER_IMPORTER_TOOLBAR_IMPORTER_H__ | 8 #ifndef CHROME_BROWSER_IMPORTER_TOOLBAR_IMPORTER_H__ |
| 9 #define CHROME_BROWSER_IMPORTER_TOOLBAR_IMPORTER_H__ | 9 #define CHROME_BROWSER_IMPORTER_TOOLBAR_IMPORTER_H__ |
| 10 | 10 |
| 11 #include <string> | 11 #include <string> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "chrome/browser/importer/importer.h" | 14 #include "chrome/browser/importer/importer.h" |
| 15 #include "chrome/browser/url_fetcher.h" | 15 #include "chrome/browser/net/url_fetcher.h" |
| 16 | 16 |
| 17 class XmlReader; | 17 class XmlReader; |
| 18 | 18 |
| 19 // Currently the only configuration information we need is to check whether or | 19 // Currently the only configuration information we need is to check whether or |
| 20 // not the user currently has their GAIA cookie. This is done by the function | 20 // not the user currently has their GAIA cookie. This is done by the function |
| 21 // exposed through the ToolbarImportUtils namespace. | 21 // exposed through the ToolbarImportUtils namespace. |
| 22 namespace ToolbarImporterUtils { | 22 namespace ToolbarImporterUtils { |
| 23 bool IsGoogleGAIACookieInstalled(); | 23 bool IsGoogleGAIACookieInstalled(); |
| 24 } // namespace ToolbarImporterUtils | 24 } // namespace ToolbarImporterUtils |
| 25 | 25 |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 | 160 |
| 161 // The fetchers need to be available to cancel the network call on user cancel | 161 // The fetchers need to be available to cancel the network call on user cancel |
| 162 // hence they are stored as member variables. | 162 // hence they are stored as member variables. |
| 163 URLFetcher* token_fetcher_; | 163 URLFetcher* token_fetcher_; |
| 164 URLFetcher* data_fetcher_; | 164 URLFetcher* data_fetcher_; |
| 165 | 165 |
| 166 DISALLOW_COPY_AND_ASSIGN(Toolbar5Importer); | 166 DISALLOW_COPY_AND_ASSIGN(Toolbar5Importer); |
| 167 }; | 167 }; |
| 168 | 168 |
| 169 #endif // CHROME_BROWSER_IMPORTER_TOOLBAR_IMPORTER_H__ | 169 #endif // CHROME_BROWSER_IMPORTER_TOOLBAR_IMPORTER_H__ |
| OLD | NEW |