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

Side by Side Diff: chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc

Issue 763833003: Remove using namespace in net/quic/quic_stream_sequencer.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix missing part device_cloud_policy_manager_chromeos_unittest.cc Created 6 years 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
« no previous file with comments | « no previous file | chrome/browser/component_updater/test/component_updater_service_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h" 5 #include "chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 EXPECT_TRUE(manager_->policies().Equals(bundle)); 191 EXPECT_TRUE(manager_->policies().Equals(bundle));
192 } 192 }
193 193
194 MOCK_METHOD0(OnDeviceCloudPolicyManagerConnected, void()); 194 MOCK_METHOD0(OnDeviceCloudPolicyManagerConnected, void());
195 195
196 scoped_ptr<EnterpriseInstallAttributes> install_attributes_; 196 scoped_ptr<EnterpriseInstallAttributes> install_attributes_;
197 197
198 scoped_refptr<net::URLRequestContextGetter> request_context_getter_; 198 scoped_refptr<net::URLRequestContextGetter> request_context_getter_;
199 net::TestURLFetcherFactory url_fetcher_factory_; 199 net::TestURLFetcherFactory url_fetcher_factory_;
200 int url_fetcher_response_code_; 200 int url_fetcher_response_code_;
201 string url_fetcher_response_string_; 201 std::string url_fetcher_response_string_;
202 TestingPrefServiceSimple local_state_; 202 TestingPrefServiceSimple local_state_;
203 MockDeviceManagementService device_management_service_; 203 MockDeviceManagementService device_management_service_;
204 MockDeviceManagementService consumer_device_management_service_; 204 MockDeviceManagementService consumer_device_management_service_;
205 chromeos::ScopedTestDeviceSettingsService test_device_settings_service_; 205 chromeos::ScopedTestDeviceSettingsService test_device_settings_service_;
206 chromeos::ScopedTestCrosSettings test_cros_settings_; 206 chromeos::ScopedTestCrosSettings test_cros_settings_;
207 chromeos::system::ScopedFakeStatisticsProvider fake_statistics_provider_; 207 chromeos::system::ScopedFakeStatisticsProvider fake_statistics_provider_;
208 chromeos::FakeSessionManagerClient fake_session_manager_client_; 208 chromeos::FakeSessionManagerClient fake_session_manager_client_;
209 chromeos::FakeCryptohomeClient* fake_cryptohome_client_; 209 chromeos::FakeCryptohomeClient* fake_cryptohome_client_;
210 ServerBackedStateKeysBroker state_keys_broker_; 210 ServerBackedStateKeysBroker state_keys_broker_;
211 211
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
658 658
659 TEST_F(DeviceCloudPolicyManagerChromeOSEnrollmentBlankSystemSaltTest, 659 TEST_F(DeviceCloudPolicyManagerChromeOSEnrollmentBlankSystemSaltTest,
660 RobotRefreshSaveFailed) { 660 RobotRefreshSaveFailed) {
661 // Without the system salt, the robot token can't be stored. 661 // Without the system salt, the robot token can't be stored.
662 RunTest(); 662 RunTest();
663 ExpectFailedEnrollment(EnrollmentStatus::STATUS_ROBOT_REFRESH_STORE_FAILED); 663 ExpectFailedEnrollment(EnrollmentStatus::STATUS_ROBOT_REFRESH_STORE_FAILED);
664 } 664 }
665 665
666 } // namespace 666 } // namespace
667 } // namespace policy 667 } // namespace policy
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/component_updater/test/component_updater_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698