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

Side by Side Diff: chrome/browser/policy/cloud/cloud_policy_manager_browsertest.cc

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 (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 #include "base/command_line.h" 5 #include "base/command_line.h"
6 #include "base/memory/scoped_ptr.h" 6 #include "base/memory/scoped_ptr.h"
7 #include "base/run_loop.h" 7 #include "base/run_loop.h"
8 #include "build/build_config.h"
8 #include "chrome/browser/browser_process.h" 9 #include "chrome/browser/browser_process.h"
9 #include "chrome/browser/policy/cloud/test_request_interceptor.h" 10 #include "chrome/browser/policy/cloud/test_request_interceptor.h"
10 #include "chrome/browser/profiles/profile.h" 11 #include "chrome/browser/profiles/profile.h"
11 #include "chrome/browser/ui/browser.h" 12 #include "chrome/browser/ui/browser.h"
12 #include "chrome/test/base/in_process_browser_test.h" 13 #include "chrome/test/base/in_process_browser_test.h"
13 #include "components/policy/core/browser/browser_policy_connector.h" 14 #include "components/policy/core/browser/browser_policy_connector.h"
14 #include "components/policy/core/common/cloud/cloud_policy_client.h" 15 #include "components/policy/core/common/cloud/cloud_policy_client.h"
15 #include "components/policy/core/common/cloud/mock_cloud_policy_client.h" 16 #include "components/policy/core/common/cloud/mock_cloud_policy_client.h"
16 #include "components/policy/core/common/policy_switches.h" 17 #include "components/policy/core/common/policy_switches.h"
17 #include "components/policy/core/common/policy_test_utils.h" 18 #include "components/policy/core/common/policy_test_utils.h"
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 const bool expect_reregister = true; 194 const bool expect_reregister = true;
194 interceptor_->PushJobCallback( 195 interceptor_->PushJobCallback(
195 TestRequestInterceptor::RegisterJob(expected_type, expect_reregister)); 196 TestRequestInterceptor::RegisterJob(expected_type, expect_reregister));
196 197
197 EXPECT_FALSE(policy_manager()->core()->client()->is_registered()); 198 EXPECT_FALSE(policy_manager()->core()->client()->is_registered());
198 ASSERT_NO_FATAL_FAILURE(Register()); 199 ASSERT_NO_FATAL_FAILURE(Register());
199 EXPECT_TRUE(policy_manager()->core()->client()->is_registered()); 200 EXPECT_TRUE(policy_manager()->core()->client()->is_registered());
200 } 201 }
201 202
202 } // namespace policy 203 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698