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

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

Issue 6056007: net: Add namespace net to the remaining files under url_request directory. (Closed)
Patch Set: chromeos fixes Created 9 years, 11 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
« no previous file with comments | « chrome/browser/google/google_url_tracker.h ('k') | chrome/browser/importer/toolbar_importer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 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
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 ImporterBridge* bridge); 47 ImporterBridge* bridge);
48 48
49 // Importer view call this method when the user clicks the cancel button 49 // Importer view call this method when the user clicks the cancel button
50 // in the ImporterView UI. We need to post a message to our loop 50 // in the ImporterView UI. We need to post a message to our loop
51 // to cancel network retrieval. 51 // to cancel network retrieval.
52 virtual void Cancel(); 52 virtual void Cancel();
53 53
54 // URLFetcher::Delegate method called back from the URLFetcher object. 54 // URLFetcher::Delegate method called back from the URLFetcher object.
55 virtual void OnURLFetchComplete(const URLFetcher* source, 55 virtual void OnURLFetchComplete(const URLFetcher* source,
56 const GURL& url, 56 const GURL& url,
57 const URLRequestStatus& status, 57 const net::URLRequestStatus& status,
58 int response_code, 58 int response_code,
59 const ResponseCookies& cookies, 59 const ResponseCookies& cookies,
60 const std::string& data); 60 const std::string& data);
61 61
62 private: 62 private:
63 FRIEND_TEST_ALL_PREFIXES(Toolbar5ImporterTest, BookmarkParse); 63 FRIEND_TEST_ALL_PREFIXES(Toolbar5ImporterTest, BookmarkParse);
64 64
65 virtual ~Toolbar5Importer(); 65 virtual ~Toolbar5Importer();
66 66
67 // Internal states of the toolbar importer. 67 // Internal states of the toolbar importer.
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 164
165 // The fetchers need to be available to cancel the network call on user cancel 165 // The fetchers need to be available to cancel the network call on user cancel
166 // hence they are stored as member variables. 166 // hence they are stored as member variables.
167 URLFetcher* token_fetcher_; 167 URLFetcher* token_fetcher_;
168 URLFetcher* data_fetcher_; 168 URLFetcher* data_fetcher_;
169 169
170 DISALLOW_COPY_AND_ASSIGN(Toolbar5Importer); 170 DISALLOW_COPY_AND_ASSIGN(Toolbar5Importer);
171 }; 171 };
172 172
173 #endif // CHROME_BROWSER_IMPORTER_TOOLBAR_IMPORTER_H_ 173 #endif // CHROME_BROWSER_IMPORTER_TOOLBAR_IMPORTER_H_
OLDNEW
« no previous file with comments | « chrome/browser/google/google_url_tracker.h ('k') | chrome/browser/importer/toolbar_importer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698