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

Side by Side Diff: chrome/browser/chromeos/imageburner/burn_manager.h

Issue 10386063: Move URLFetcherDelegate to net/ and split URLFetcher between net/ and content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync to head, fix win component build Created 8 years, 7 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) 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 #ifndef CHROME_BROWSER_CHROMEOS_IMAGEBURNER_BURN_MANAGER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_IMAGEBURNER_BURN_MANAGER_H_
6 #define CHROME_BROWSER_CHROMEOS_IMAGEBURNER_BURN_MANAGER_H_ 6 #define CHROME_BROWSER_CHROMEOS_IMAGEBURNER_BURN_MANAGER_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 // Must be called from UI thread. 194 // Must be called from UI thread.
195 void FetchConfigFile(Delegate* delegate); 195 void FetchConfigFile(Delegate* delegate);
196 196
197 // Fetch a zipped recovery image. 197 // Fetch a zipped recovery image.
198 void FetchImage(const GURL& image_url, const FilePath& file_path); 198 void FetchImage(const GURL& image_url, const FilePath& file_path);
199 199
200 // Cancel fetching image. 200 // Cancel fetching image.
201 void CancelImageFetch(); 201 void CancelImageFetch();
202 202
203 // URLFetcherDelegate overrides: 203 // URLFetcherDelegate overrides:
204 virtual void OnURLFetchComplete(const content::URLFetcher* source) OVERRIDE; 204 virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE;
205 virtual void OnURLFetchDownloadProgress(const content::URLFetcher* source, 205 virtual void OnURLFetchDownloadProgress(const net::URLFetcher* source,
206 int64 current, 206 int64 current,
207 int64 total) OVERRIDE; 207 int64 total) OVERRIDE;
208 208
209 // Creates directory image will be downloaded to. 209 // Creates directory image will be downloaded to.
210 // Must be called from FILE thread. 210 // Must be called from FILE thread.
211 void CreateImageDir(Delegate* delegate); 211 void CreateImageDir(Delegate* delegate);
212 212
213 // Returns directory image should be dopwnloaded to. 213 // Returns directory image should be dopwnloaded to.
214 // The directory has to be previously created. 214 // The directory has to be previously created.
215 const FilePath& GetImageDir(); 215 const FilePath& GetImageDir();
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 ObserverList<Observer> observers_; 261 ObserverList<Observer> observers_;
262 262
263 DISALLOW_COPY_AND_ASSIGN(BurnManager); 263 DISALLOW_COPY_AND_ASSIGN(BurnManager);
264 }; 264 };
265 265
266 } // namespace imageburner 266 } // namespace imageburner
267 267
268 } // namespace chromeos 268 } // namespace chromeos
269 269
270 #endif // CHROME_BROWSER_CHROMEOS_IMAGEBURNER_BURN_MANAGER_H_ 270 #endif // CHROME_BROWSER_CHROMEOS_IMAGEBURNER_BURN_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_operations.cc ('k') | chrome/browser/chromeos/imageburner/burn_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698