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

Side by Side Diff: chrome/browser/chromeos/policy/device_policy_cros_browser_test.h

Issue 16658015: Add device policies to control accessibility settings on the login screen (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix copy&paste mistake found by clang. Created 7 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_POLICY_DEVICE_POLICY_CROS_BROWSER_TEST_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_POLICY_CROS_BROWSER_TEST_H_
6 #define CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_POLICY_CROS_BROWSER_TEST_H_ 6 #define CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_POLICY_CROS_BROWSER_TEST_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/files/scoped_temp_dir.h" 10 #include "base/files/scoped_temp_dir.h"
(...skipping 27 matching lines...) Expand all
38 chromeos::MockDBusThreadManagerWithoutGMock* mock_dbus_thread_manager() { 38 chromeos::MockDBusThreadManagerWithoutGMock* mock_dbus_thread_manager() {
39 return mock_dbus_thread_manager_; 39 return mock_dbus_thread_manager_;
40 } 40 }
41 41
42 chromeos::FakeSessionManagerClient* session_manager_client() { 42 chromeos::FakeSessionManagerClient* session_manager_client() {
43 return mock_dbus_thread_manager_->fake_session_manager_client(); 43 return mock_dbus_thread_manager_->fake_session_manager_client();
44 } 44 }
45 45
46 DevicePolicyBuilder* device_policy() { return &device_policy_; } 46 DevicePolicyBuilder* device_policy() { return &device_policy_; }
47 47
48 // Stores the device owner key.
49 base::ScopedTempDir temp_dir_;
50
48 private: 51 private:
49 // MockDBusThreadManagerWithoutGMock uses FakeSessionManagerClient. 52 // MockDBusThreadManagerWithoutGMock uses FakeSessionManagerClient.
50 chromeos::MockDBusThreadManagerWithoutGMock* mock_dbus_thread_manager_; 53 chromeos::MockDBusThreadManagerWithoutGMock* mock_dbus_thread_manager_;
51 54
52 // Carries Chrome OS device policies for tests. 55 // Carries Chrome OS device policies for tests.
53 DevicePolicyBuilder device_policy_; 56 DevicePolicyBuilder device_policy_;
54 57
55 // Stores the device owner key.
56 base::ScopedTempDir temp_dir_;
57
58 DISALLOW_COPY_AND_ASSIGN(DevicePolicyCrosBrowserTest); 58 DISALLOW_COPY_AND_ASSIGN(DevicePolicyCrosBrowserTest);
59 }; 59 };
60 60
61 } // namespace policy 61 } // namespace policy
62 62
63 #endif // CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_POLICY_CROS_BROWSER_TEST_H_ 63 #endif // CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_POLICY_CROS_BROWSER_TEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698