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

Side by Side Diff: chromeos/tpm/tpm_token_info_getter.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_info_getter.h ('k') | chromeos/tpm/tpm_token_info_getter_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 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_info_getter.h" 5 #include "chromeos/tpm/tpm_token_info_getter.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "chromeos/dbus/cryptohome_client.h" 9 #include "chromeos/dbus/cryptohome_client.h"
10 10
11 namespace { 11 namespace {
12 12
13 const int64 kInitialRequestDelayMs = 100; 13 const int64 kInitialRequestDelayMs = 100;
14 const int64 kMaxRequestDelayMs = 300000; // 5 minutes 14 const int64 kMaxRequestDelayMs = 300000; // 5 minutes
15 15
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 TPMTokenInfo token_info; 153 TPMTokenInfo token_info;
154 token_info.tpm_is_enabled = true; 154 token_info.tpm_is_enabled = true;
155 token_info.token_name = token_name; 155 token_info.token_name = token_name;
156 token_info.user_pin = user_pin; 156 token_info.user_pin = user_pin;
157 token_info.token_slot_id = token_slot_id; 157 token_info.token_slot_id = token_slot_id;
158 158
159 callback_.Run(token_info); 159 callback_.Run(token_info);
160 } 160 }
161 161
162 } // namespace chromeos 162 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/tpm/tpm_token_info_getter.h ('k') | chromeos/tpm/tpm_token_info_getter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698