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

Side by Side Diff: chrome/browser/chromeos/customization_wallpaper_downloader.h

Issue 623293003: replace OVERRIDE and FINAL with override and final in chrome/browser/chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: run git cl format on echo_dialog_view.h Created 6 years, 2 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_CUSTOMIZATION_WALLPAPER_DOWNLOADER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_CUSTOMIZATION_WALLPAPER_DOWNLOADER_H_
6 #define CHROME_BROWSER_CHROMEOS_CUSTOMIZATION_WALLPAPER_DOWNLOADER_H_ 6 #define CHROME_BROWSER_CHROMEOS_CUSTOMIZATION_WALLPAPER_DOWNLOADER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 const base::FilePath& wallpaper_downloaded_file, 43 const base::FilePath& wallpaper_downloaded_file,
44 base::Callback<void(bool success, const GURL&)> 44 base::Callback<void(bool success, const GURL&)>
45 on_wallpaper_fetch_completed); 45 on_wallpaper_fetch_completed);
46 46
47 virtual ~CustomizationWallpaperDownloader(); 47 virtual ~CustomizationWallpaperDownloader();
48 48
49 // Start download. 49 // Start download.
50 void Start(); 50 void Start();
51 51
52 // net::URLFetcherDelegate 52 // net::URLFetcherDelegate
53 virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; 53 virtual void OnURLFetchComplete(const net::URLFetcher* source) override;
54 54
55 // This is called in tests to modify (lower) retry delay. 55 // This is called in tests to modify (lower) retry delay.
56 void set_retry_delay_for_testing(base::TimeDelta value) { 56 void set_retry_delay_for_testing(base::TimeDelta value) {
57 retry_delay_ = value; 57 retry_delay_ = value;
58 } 58 }
59 59
60 base::TimeDelta retry_current_delay_for_testing() const { 60 base::TimeDelta retry_current_delay_for_testing() const {
61 return retry_current_delay_; 61 return retry_current_delay_;
62 } 62 }
63 63
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 base::Callback<void(bool success, const GURL&)> on_wallpaper_fetch_completed_; 109 base::Callback<void(bool success, const GURL&)> on_wallpaper_fetch_completed_;
110 110
111 base::WeakPtrFactory<CustomizationWallpaperDownloader> weak_factory_; 111 base::WeakPtrFactory<CustomizationWallpaperDownloader> weak_factory_;
112 112
113 DISALLOW_COPY_AND_ASSIGN(CustomizationWallpaperDownloader); 113 DISALLOW_COPY_AND_ASSIGN(CustomizationWallpaperDownloader);
114 }; 114 };
115 115
116 } // namespace chromeos 116 } // namespace chromeos
117 117
118 #endif // CHROME_BROWSER_CHROMEOS_CUSTOMIZATION_WALLPAPER_DOWNLOADER_H_ 118 #endif // CHROME_BROWSER_CHROMEOS_CUSTOMIZATION_WALLPAPER_DOWNLOADER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698