| OLD | NEW | 
|---|
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/importer/importer_data_types.h" | 15 #include "chrome/common/importer_data_types.h" | 
| 16 #include "chrome/common/net/url_fetcher.h" | 16 #include "chrome/common/net/url_fetcher.h" | 
| 17 #include "testing/gtest/include/gtest/gtest_prod.h" | 17 #include "testing/gtest/include/gtest/gtest_prod.h" | 
| 18 | 18 | 
| 19 class ImporterBridge; | 19 class ImporterBridge; | 
| 20 class XmlReader; | 20 class XmlReader; | 
| 21 | 21 | 
| 22 // Currently the only configuration information we need is to check whether or | 22 // Currently the only configuration information we need is to check whether or | 
| 23 // not the user currently has their GAIA cookie.  This is done by the function | 23 // not the user currently has their GAIA cookie.  This is done by the function | 
| 24 // exposed through the ToolbarImportUtils namespace. | 24 // exposed through the ToolbarImportUtils namespace. | 
| 25 namespace toolbar_importer_utils { | 25 namespace toolbar_importer_utils { | 
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 159 | 159 | 
| 160   // The fetchers need to be available to cancel the network call on user cancel | 160   // The fetchers need to be available to cancel the network call on user cancel | 
| 161   // hence they are stored as member variables. | 161   // hence they are stored as member variables. | 
| 162   URLFetcher* token_fetcher_; | 162   URLFetcher* token_fetcher_; | 
| 163   URLFetcher* data_fetcher_; | 163   URLFetcher* data_fetcher_; | 
| 164 | 164 | 
| 165   DISALLOW_COPY_AND_ASSIGN(Toolbar5Importer); | 165   DISALLOW_COPY_AND_ASSIGN(Toolbar5Importer); | 
| 166 }; | 166 }; | 
| 167 | 167 | 
| 168 #endif  // CHROME_BROWSER_IMPORTER_TOOLBAR_IMPORTER_H_ | 168 #endif  // CHROME_BROWSER_IMPORTER_TOOLBAR_IMPORTER_H_ | 
| OLD | NEW | 
|---|