| OLD | NEW |
| 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_CUSTOMIZATION_WALLPAPER_DOWNLOADER
_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_CUSTOMIZATION_CUSTOMIZATION_WALLPAPER_DOWNLOADER
_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_CUSTOMIZATION_CUSTOMIZATION_WALLPAPER_DOWNLOADER
_H_ | 6 #define CHROME_BROWSER_CHROMEOS_CUSTOMIZATION_CUSTOMIZATION_WALLPAPER_DOWNLOADER
_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include <string> | 10 #include <string> |
| 9 | 11 |
| 10 #include "base/bind.h" | 12 #include "base/bind.h" |
| 11 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
| 12 #include "base/macros.h" | 14 #include "base/macros.h" |
| 13 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
| 14 #include "base/time/time.h" | 16 #include "base/time/time.h" |
| 15 #include "base/timer/timer.h" | 17 #include "base/timer/timer.h" |
| 16 #include "net/url_request/url_fetcher_delegate.h" | 18 #include "net/url_request/url_fetcher_delegate.h" |
| 17 #include "url/gurl.h" | 19 #include "url/gurl.h" |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 base::Callback<void(bool success, const GURL&)> on_wallpaper_fetch_completed_; | 111 base::Callback<void(bool success, const GURL&)> on_wallpaper_fetch_completed_; |
| 110 | 112 |
| 111 base::WeakPtrFactory<CustomizationWallpaperDownloader> weak_factory_; | 113 base::WeakPtrFactory<CustomizationWallpaperDownloader> weak_factory_; |
| 112 | 114 |
| 113 DISALLOW_COPY_AND_ASSIGN(CustomizationWallpaperDownloader); | 115 DISALLOW_COPY_AND_ASSIGN(CustomizationWallpaperDownloader); |
| 114 }; | 116 }; |
| 115 | 117 |
| 116 } // namespace chromeos | 118 } // namespace chromeos |
| 117 | 119 |
| 118 #endif // CHROME_BROWSER_CHROMEOS_CUSTOMIZATION_CUSTOMIZATION_WALLPAPER_DOWNLOA
DER_H_ | 120 #endif // CHROME_BROWSER_CHROMEOS_CUSTOMIZATION_CUSTOMIZATION_WALLPAPER_DOWNLOA
DER_H_ |
| OLD | NEW |