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

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

Issue 738683002: Move chromeos/tpm_* to chromeos/tpm (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix the build 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 | « chromeos/tpm/tpm_token_loader.h ('k') | chromeos/tpm_password_fetcher.h » ('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 "chromeos/tpm_token_loader.h" 5 #include "chromeos/tpm/tpm_token_loader.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/location.h" 10 #include "base/location.h"
11 #include "base/sequenced_task_runner.h" 11 #include "base/sequenced_task_runner.h"
12 #include "base/single_thread_task_runner.h" 12 #include "base/single_thread_task_runner.h"
13 #include "base/sys_info.h" 13 #include "base/sys_info.h"
14 #include "base/task_runner_util.h" 14 #include "base/task_runner_util.h"
15 #include "base/thread_task_runner_handle.h" 15 #include "base/thread_task_runner_handle.h"
16 #include "chromeos/dbus/dbus_thread_manager.h" 16 #include "chromeos/dbus/dbus_thread_manager.h"
17 #include "chromeos/tpm_token_info_getter.h" 17 #include "chromeos/tpm/tpm_token_info_getter.h"
18 #include "crypto/nss_util.h" 18 #include "crypto/nss_util.h"
19 19
20 namespace chromeos { 20 namespace chromeos {
21 21
22 namespace { 22 namespace {
23 23
24 void PostResultToTaskRunner(scoped_refptr<base::SequencedTaskRunner> runner, 24 void PostResultToTaskRunner(scoped_refptr<base::SequencedTaskRunner> runner,
25 const base::Callback<void(bool)>& callback, 25 const base::Callback<void(bool)>& callback,
26 bool success) { 26 bool success) {
27 runner->PostTask(FROM_HERE, base::Bind(callback, success)); 27 runner->PostTask(FROM_HERE, base::Bind(callback, success));
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 } 222 }
223 tpm_ready_callback_list_.clear(); 223 tpm_ready_callback_list_.clear();
224 } 224 }
225 225
226 void TPMTokenLoader::LoggedInStateChanged() { 226 void TPMTokenLoader::LoggedInStateChanged() {
227 VLOG(1) << "LoggedInStateChanged"; 227 VLOG(1) << "LoggedInStateChanged";
228 MaybeStartTokenInitialization(); 228 MaybeStartTokenInitialization();
229 } 229 }
230 230
231 } // namespace chromeos 231 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/tpm/tpm_token_loader.h ('k') | chromeos/tpm_password_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698