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

Side by Side Diff: chrome/browser/chromeos/policy/remote_commands/device_command_screenshot_job_unittest.cc

Issue 1547093002: Switch to standard integer types in chrome/browser/chromeos/. (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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 <map> 5 #include <map>
6 #include <vector> 6 #include <vector>
7 7
8 #include "ash/test/ash_test_base.h" 8 #include "ash/test/ash_test_base.h"
9 #include "base/json/json_writer.h" 9 #include "base/json/json_writer.h"
10 #include "base/macros.h"
10 #include "base/run_loop.h" 11 #include "base/run_loop.h"
11 #include "base/single_thread_task_runner.h" 12 #include "base/single_thread_task_runner.h"
12 #include "base/test/test_mock_time_task_runner.h" 13 #include "base/test/test_mock_time_task_runner.h"
13 #include "base/thread_task_runner_handle.h" 14 #include "base/thread_task_runner_handle.h"
14 #include "base/threading/sequenced_worker_pool.h" 15 #include "base/threading/sequenced_worker_pool.h"
15 #include "base/time/time.h" 16 #include "base/time/time.h"
16 #include "base/values.h" 17 #include "base/values.h"
17 #include "chrome/browser/chromeos/policy/remote_commands/device_command_screensh ot_job.h" 18 #include "chrome/browser/chromeos/policy/remote_commands/device_command_screensh ot_job.h"
18 #include "content/public/browser/browser_thread.h" 19 #include "content/public/browser/browser_thread.h"
19 #include "content/public/test/test_browser_thread_bundle.h" 20 #include "content/public/test/test_browser_thread_bundle.h"
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 base::Bind(&DeviceCommandScreenshotTest::VerifyResults, 308 base::Bind(&DeviceCommandScreenshotTest::VerifyResults,
308 base::Unretained(this), base::Unretained(job.get()), 309 base::Unretained(this), base::Unretained(job.get()),
309 RemoteCommandJob::FAILED, 310 RemoteCommandJob::FAILED,
310 CreatePayloadFromResultCode( 311 CreatePayloadFromResultCode(
311 DeviceCommandScreenshotJob::FAILURE_AUTHENTICATION))); 312 DeviceCommandScreenshotJob::FAILURE_AUTHENTICATION)));
312 EXPECT_TRUE(success); 313 EXPECT_TRUE(success);
313 run_loop_.Run(); 314 run_loop_.Run();
314 } 315 }
315 316
316 } // namespace policy 317 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698