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

Side by Side Diff: chromeos/tpm/tpm_token_info_getter_unittest.cc

Issue 1966093003: Fix include path for moved thread_task_runner_handle.h header in chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 years, 7 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
« no previous file with comments | « chromeos/tpm/tpm_password_fetcher.cc ('k') | chromeos/tpm/tpm_token_loader.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 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 <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/location.h" 11 #include "base/location.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/message_loop/message_loop.h" 13 #include "base/message_loop/message_loop.h"
14 #include "base/run_loop.h" 14 #include "base/run_loop.h"
15 #include "base/single_thread_task_runner.h" 15 #include "base/single_thread_task_runner.h"
16 #include "base/task_runner.h" 16 #include "base/task_runner.h"
17 #include "base/thread_task_runner_handle.h" 17 #include "base/threading/thread_task_runner_handle.h"
18 #include "chromeos/cryptohome/cryptohome_parameters.h" 18 #include "chromeos/cryptohome/cryptohome_parameters.h"
19 #include "chromeos/dbus/fake_cryptohome_client.h" 19 #include "chromeos/dbus/fake_cryptohome_client.h"
20 #include "chromeos/tpm/tpm_token_info_getter.h" 20 #include "chromeos/tpm/tpm_token_info_getter.h"
21 #include "testing/gtest/include/gtest/gtest.h" 21 #include "testing/gtest/include/gtest/gtest.h"
22 22
23 namespace { 23 namespace {
24 24
25 // The struct holding information returned by TPMTokenInfoGetter::Start 25 // The struct holding information returned by TPMTokenInfoGetter::Start
26 // callback. 26 // callback.
27 struct TestTPMTokenInfo { 27 struct TestTPMTokenInfo {
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after
513 EXPECT_EQ("2222", reported_info.pin); 513 EXPECT_EQ("2222", reported_info.pin);
514 EXPECT_EQ(1, reported_info.slot_id); 514 EXPECT_EQ(1, reported_info.slot_id);
515 515
516 const int64_t kExpectedDelays[] = {100}; 516 const int64_t kExpectedDelays[] = {100};
517 EXPECT_EQ(std::vector<int64_t>(kExpectedDelays, 517 EXPECT_EQ(std::vector<int64_t>(kExpectedDelays,
518 kExpectedDelays + arraysize(kExpectedDelays)), 518 kExpectedDelays + arraysize(kExpectedDelays)),
519 delays_); 519 delays_);
520 } 520 }
521 521
522 } // namespace 522 } // namespace
OLDNEW
« no previous file with comments | « chromeos/tpm/tpm_password_fetcher.cc ('k') | chromeos/tpm/tpm_token_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698