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

Side by Side Diff: chrome/browser/importer/toolbar_importer.h

Issue 7006005: Move UrlFetcher to content. I originally thought that it's only used by chrome code, but turns o... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix linux Created 9 years, 6 months 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 10 #pragma once
11 11
12 #include <string> 12 #include <string>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/basictypes.h" 15 #include "base/basictypes.h"
16 #include "base/compiler_specific.h" 16 #include "base/compiler_specific.h"
17 #include "base/gtest_prod_util.h" 17 #include "base/gtest_prod_util.h"
18 #include "base/string16.h" 18 #include "base/string16.h"
19 #include "chrome/browser/importer/importer.h" 19 #include "chrome/browser/importer/importer.h"
20 #include "chrome/browser/importer/profile_writer.h" 20 #include "chrome/browser/importer/profile_writer.h"
21 #include "chrome/common/net/url_fetcher.h" 21 #include "content/common/url_fetcher.h"
22 22
23 class ImporterBridge; 23 class ImporterBridge;
24 class XmlReader; 24 class XmlReader;
25 25
26 // Toolbar5Importer is a class which exposes the functionality needed to 26 // Toolbar5Importer is a class which exposes the functionality needed to
27 // communicate with the Google Toolbar v5 front-end, negotiate the download of 27 // communicate with the Google Toolbar v5 front-end, negotiate the download of
28 // Toolbar bookmarks, parse them, and install them on the client. 28 // Toolbar bookmarks, parse them, and install them on the client.
29 // Toolbar5Importer should not have StartImport called more than once. Futher 29 // Toolbar5Importer should not have StartImport called more than once. Futher
30 // if StartImport is called, then the class must not be destroyed until it has 30 // if StartImport is called, then the class must not be destroyed until it has
31 // either completed or Toolbar5Importer->Cancel() has been called. 31 // either completed or Toolbar5Importer->Cancel() has been called.
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 158
159 // The fetchers need to be available to cancel the network call on user cancel 159 // The fetchers need to be available to cancel the network call on user cancel
160 // hence they are stored as member variables. 160 // hence they are stored as member variables.
161 URLFetcher* token_fetcher_; 161 URLFetcher* token_fetcher_;
162 URLFetcher* data_fetcher_; 162 URLFetcher* data_fetcher_;
163 163
164 DISALLOW_COPY_AND_ASSIGN(Toolbar5Importer); 164 DISALLOW_COPY_AND_ASSIGN(Toolbar5Importer);
165 }; 165 };
166 166
167 #endif // CHROME_BROWSER_IMPORTER_TOOLBAR_IMPORTER_H_ 167 #endif // CHROME_BROWSER_IMPORTER_TOOLBAR_IMPORTER_H_
OLDNEW
« no previous file with comments | « chrome/browser/google/google_url_tracker_unittest.cc ('k') | chrome/browser/intranet_redirect_detector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698