Index: chrome/browser/chromeos/customization_document.h |
diff --git a/chrome/browser/chromeos/customization_document.h b/chrome/browser/chromeos/customization_document.h |
index 97e166d82e193595447546e15faebff133f52f7b..ad1b1f6c617f22eadbf6f548aa874c090148b0b1 100644 |
--- a/chrome/browser/chromeos/customization_document.h |
+++ b/chrome/browser/chromeos/customization_document.h |
@@ -194,8 +194,16 @@ class ServicesCustomizationDocument : public CustomizationDocument, |
static base::FilePath GetCustomizedWallpaperCacheDir(); |
static base::FilePath GetCustomizedWallpaperDownloadedFileName(); |
+ CustomizationWallpaperDownloader* wallpaper_downloader_for_testing() { |
+ return wallpaper_downloader_.get(); |
+ } |
+ |
private: |
friend struct DefaultSingletonTraits<ServicesCustomizationDocument>; |
+ FRIEND_TEST_ALL_PREFIXES(CustomizationWallpaperDownloaderBrowserTest, |
+ OEMWallpaperIsPresent); |
+ FRIEND_TEST_ALL_PREFIXES(CustomizationWallpaperDownloaderBrowserTest, |
+ OEMWallpaperRetryFetch); |
typedef std::vector<base::WeakPtr<ServicesCustomizationExternalLoader> > |
ExternalLoaders; |