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

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

Issue 2273783002: Move policy generated files to components/policy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missed headers Created 4 years, 3 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
(...skipping 23 matching lines...) Expand all
34 #include "chromeos/chromeos_switches.h" 34 #include "chromeos/chromeos_switches.h"
35 #include "chromeos/cryptohome/system_salt_getter.h" 35 #include "chromeos/cryptohome/system_salt_getter.h"
36 #include "chromeos/dbus/cryptohome_client.h" 36 #include "chromeos/dbus/cryptohome_client.h"
37 #include "chromeos/dbus/dbus_thread_manager.h" 37 #include "chromeos/dbus/dbus_thread_manager.h"
38 #include "chromeos/dbus/fake_session_manager_client.h" 38 #include "chromeos/dbus/fake_session_manager_client.h"
39 #include "chromeos/dbus/session_manager_client.h" 39 #include "chromeos/dbus/session_manager_client.h"
40 #include "components/policy/core/common/cloud/cloud_policy_core.h" 40 #include "components/policy/core/common/cloud/cloud_policy_core.h"
41 #include "components/policy/core/common/cloud/cloud_policy_store.h" 41 #include "components/policy/core/common/cloud/cloud_policy_store.h"
42 #include "components/policy/core/common/cloud/cloud_policy_validator.h" 42 #include "components/policy/core/common/cloud/cloud_policy_validator.h"
43 #include "components/policy/core/common/cloud/policy_builder.h" 43 #include "components/policy/core/common/cloud/policy_builder.h"
44 #include "components/policy/proto/cloud_policy.pb.h"
44 #include "components/user_manager/user.h" 45 #include "components/user_manager/user.h"
45 #include "components/user_manager/user_manager.h" 46 #include "components/user_manager/user_manager.h"
46 #include "content/public/test/browser_test_utils.h" 47 #include "content/public/test/browser_test_utils.h"
47 #include "crypto/rsa_private_key.h" 48 #include "crypto/rsa_private_key.h"
48 #include "net/test/embedded_test_server/embedded_test_server.h" 49 #include "net/test/embedded_test_server/embedded_test_server.h"
49 #include "policy/proto/cloud_policy.pb.h"
50 #include "testing/gtest/include/gtest/gtest.h" 50 #include "testing/gtest/include/gtest/gtest.h"
51 #include "third_party/skia/include/core/SkBitmap.h" 51 #include "third_party/skia/include/core/SkBitmap.h"
52 #include "third_party/skia/include/core/SkColor.h" 52 #include "third_party/skia/include/core/SkColor.h"
53 #include "ui/gfx/image/image_skia.h" 53 #include "ui/gfx/image/image_skia.h"
54 #include "url/gurl.h" 54 #include "url/gurl.h"
55 55
56 namespace chromeos { 56 namespace chromeos {
57 57
58 namespace { 58 namespace {
59 59
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 418
419 IN_PROC_BROWSER_TEST_F(WallpaperManagerPolicyTest, PersistOverLogout) { 419 IN_PROC_BROWSER_TEST_F(WallpaperManagerPolicyTest, PersistOverLogout) {
420 LoginUser(testUsers_[0].GetUserEmail()); 420 LoginUser(testUsers_[0].GetUserEmail());
421 421
422 // Wait until wallpaper has been loaded. 422 // Wait until wallpaper has been loaded.
423 RunUntilWallpaperChangeCount(1); 423 RunUntilWallpaperChangeCount(1);
424 ASSERT_EQ(kRedImageColor, GetAverageBackgroundColor()); 424 ASSERT_EQ(kRedImageColor, GetAverageBackgroundColor());
425 } 425 }
426 426
427 } // namespace chromeos 427 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698