OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "base/basictypes.h" | 14 #include "base/basictypes.h" |
15 #include "base/compiler_specific.h" | 15 #include "base/compiler_specific.h" |
16 #include "base/gtest_prod_util.h" | 16 #include "base/gtest_prod_util.h" |
17 #include "base/memory/ref_counted.h" | 17 #include "base/memory/ref_counted.h" |
18 #include "base/string16.h" | 18 #include "base/strings/string16.h" |
19 #include "chrome/browser/importer/importer.h" | 19 #include "chrome/browser/importer/importer.h" |
20 #include "net/url_request/url_fetcher_delegate.h" | 20 #include "net/url_request/url_fetcher_delegate.h" |
21 #include "net/url_request/url_request_context_getter.h" | 21 #include "net/url_request/url_request_context_getter.h" |
22 | 22 |
23 struct ImportedBookmarkEntry; | 23 struct ImportedBookmarkEntry; |
24 class ImporterBridge; | 24 class ImporterBridge; |
25 class XmlReader; | 25 class XmlReader; |
26 | 26 |
27 namespace net { | 27 namespace net { |
28 class URLFetcher; | 28 class URLFetcher; |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 net::URLFetcher* token_fetcher_; | 161 net::URLFetcher* token_fetcher_; |
162 net::URLFetcher* data_fetcher_; | 162 net::URLFetcher* data_fetcher_; |
163 | 163 |
164 // Used to get correct login data for the toolbar server. | 164 // Used to get correct login data for the toolbar server. |
165 scoped_refptr<net::URLRequestContextGetter> request_context_getter_; | 165 scoped_refptr<net::URLRequestContextGetter> request_context_getter_; |
166 | 166 |
167 DISALLOW_COPY_AND_ASSIGN(Toolbar5Importer); | 167 DISALLOW_COPY_AND_ASSIGN(Toolbar5Importer); |
168 }; | 168 }; |
169 | 169 |
170 #endif // CHROME_BROWSER_IMPORTER_TOOLBAR_IMPORTER_H_ | 170 #endif // CHROME_BROWSER_IMPORTER_TOOLBAR_IMPORTER_H_ |
OLD | NEW |