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

Unified Diff: ash/desktop_background/desktop_background_controller_test_api.h

Issue 215293003: Move all wallpaper file loading and decoding from DesktopBackgroundController to WallpaperManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix clang debug build. Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: ash/desktop_background/desktop_background_controller_test_api.h
diff --git a/ash/desktop_background/desktop_background_controller_test_api.h b/ash/desktop_background/desktop_background_controller_test_api.h
new file mode 100644
index 0000000000000000000000000000000000000000..1fc28dfd3eef4cc17420587d46ed4ec315cc8526
--- /dev/null
+++ b/ash/desktop_background/desktop_background_controller_test_api.h
@@ -0,0 +1,24 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_CONTROLLER_TEST_API_H_
+#define ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_CONTROLLER_TEST_API_H_
+
+#include "ash/desktop_background/desktop_background_controller.h"
+
+namespace ash {
+
+class DesktopBackgroundController::TestAPI {
+ public:
+ explicit TestAPI(DesktopBackgroundController* controller);
+
+ void set_wallpaper_reload_delay_for_test(bool value);
+
+ private:
+ DesktopBackgroundController* controller_;
+};
+
+} // namespace ash
+
+#endif // ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_CONTROLLER_TEST_API_H_

Powered by Google App Engine
This is Rietveld 408576698