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

Side by Side Diff: chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager_policy_browsertest.cc

Issue 2736573002: chromeos: Move files in //ash/common to //ash, part 2 (Closed)
Patch Set: Created 3 years, 9 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 #include <stdint.h> 5 #include <stdint.h>
6 6
7 #include <memory> 7 #include <memory>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "ash/common/wallpaper/wallpaper_controller.h" 11 #include "ash/wallpaper/wallpaper_controller.h"
12 #include "ash/common/wallpaper/wallpaper_controller_observer.h" 12 #include "ash/wallpaper/wallpaper_controller_observer.h"
13 #include "ash/common/wm_shell.h" 13 #include "ash/wm_shell.h"
14 #include "base/command_line.h" 14 #include "base/command_line.h"
15 #include "base/compiler_specific.h" 15 #include "base/compiler_specific.h"
16 #include "base/files/file_path.h" 16 #include "base/files/file_path.h"
17 #include "base/files/file_util.h" 17 #include "base/files/file_util.h"
18 #include "base/json/json_writer.h" 18 #include "base/json/json_writer.h"
19 #include "base/macros.h" 19 #include "base/macros.h"
20 #include "base/memory/ptr_util.h" 20 #include "base/memory/ptr_util.h"
21 #include "base/numerics/safe_conversions.h" 21 #include "base/numerics/safe_conversions.h"
22 #include "base/path_service.h" 22 #include "base/path_service.h"
23 #include "base/run_loop.h" 23 #include "base/run_loop.h"
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 437
438 IN_PROC_BROWSER_TEST_F(WallpaperManagerPolicyTest, PersistOverLogout) { 438 IN_PROC_BROWSER_TEST_F(WallpaperManagerPolicyTest, PersistOverLogout) {
439 LoginUser(testUsers_[0].GetUserEmail()); 439 LoginUser(testUsers_[0].GetUserEmail());
440 440
441 // Wait until wallpaper has been loaded. 441 // Wait until wallpaper has been loaded.
442 RunUntilWallpaperChangeCount(1); 442 RunUntilWallpaperChangeCount(1);
443 ASSERT_EQ(kRedImageColor, GetAverageWallpaperColor()); 443 ASSERT_EQ(kRedImageColor, GetAverageWallpaperColor());
444 } 444 }
445 445
446 } // namespace chromeos 446 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698