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

Side by Side Diff: chromeos/dbus/fake_cryptohome_client.cc

Issue 1693383003: ChromeOS cryptohome should be able to use gaia id as user identifier. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed unit tests. Created 4 years, 9 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/dbus/fake_cryptohome_client.h ('k') | chromeos/dbus/fake_session_manager_client.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 "chromeos/dbus/fake_cryptohome_client.h" 5 #include "chromeos/dbus/fake_cryptohome_client.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 base::MessageLoop::current()->PostTask( 66 base::MessageLoop::current()->PostTask(
67 FROM_HERE, base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, true)); 67 FROM_HERE, base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, true));
68 } 68 }
69 69
70 bool FakeCryptohomeClient::Unmount(bool* success) { 70 bool FakeCryptohomeClient::Unmount(bool* success) {
71 *success = unmount_result_; 71 *success = unmount_result_;
72 return true; 72 return true;
73 } 73 }
74 74
75 void FakeCryptohomeClient::AsyncCheckKey( 75 void FakeCryptohomeClient::AsyncCheckKey(
76 const std::string& username, 76 const cryptohome::Identification& cryptohome_id,
77 const std::string& key, 77 const std::string& key,
78 const AsyncMethodCallback& callback) { 78 const AsyncMethodCallback& callback) {
79 ReturnAsyncMethodResult(callback, false); 79 ReturnAsyncMethodResult(callback, false);
80 } 80 }
81 81
82 void FakeCryptohomeClient::AsyncMigrateKey( 82 void FakeCryptohomeClient::AsyncMigrateKey(
83 const std::string& username, 83 const cryptohome::Identification& cryptohome_id,
84 const std::string& from_key, 84 const std::string& from_key,
85 const std::string& to_key, 85 const std::string& to_key,
86 const AsyncMethodCallback& callback) { 86 const AsyncMethodCallback& callback) {
87 ReturnAsyncMethodResult(callback, false); 87 ReturnAsyncMethodResult(callback, false);
88 } 88 }
89 89
90 void FakeCryptohomeClient::AsyncRemove( 90 void FakeCryptohomeClient::AsyncRemove(
91 const std::string& username, 91 const cryptohome::Identification& cryptohome_id,
92 const AsyncMethodCallback& callback) { 92 const AsyncMethodCallback& callback) {
93 ReturnAsyncMethodResult(callback, false); 93 ReturnAsyncMethodResult(callback, false);
94 } 94 }
95 95
96 void FakeCryptohomeClient::GetSystemSalt( 96 void FakeCryptohomeClient::GetSystemSalt(
97 const GetSystemSaltCallback& callback) { 97 const GetSystemSaltCallback& callback) {
98 base::MessageLoop::current()->PostTask( 98 base::MessageLoop::current()->PostTask(
99 FROM_HERE, 99 FROM_HERE,
100 base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, system_salt_)); 100 base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, system_salt_));
101 } 101 }
102 102
103 void FakeCryptohomeClient::GetSanitizedUsername( 103 void FakeCryptohomeClient::GetSanitizedUsername(
104 const std::string& username, 104 const cryptohome::Identification& cryptohome_id,
105 const StringDBusMethodCallback& callback) { 105 const StringDBusMethodCallback& callback) {
106 // Even for stub implementation we have to return different values so that 106 // Even for stub implementation we have to return different values so that
107 // multi-profiles would work. 107 // multi-profiles would work.
108 std::string sanitized_username = GetStubSanitizedUsername(username); 108 std::string sanitized_username = GetStubSanitizedUsername(cryptohome_id);
109 base::MessageLoop::current()->PostTask( 109 base::MessageLoop::current()->PostTask(
110 FROM_HERE, 110 FROM_HERE,
111 base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, sanitized_username)); 111 base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, sanitized_username));
112 } 112 }
113 113
114 std::string FakeCryptohomeClient::BlockingGetSanitizedUsername( 114 std::string FakeCryptohomeClient::BlockingGetSanitizedUsername(
115 const std::string& username) { 115 const cryptohome::Identification& cryptohome_id) {
116 return GetStubSanitizedUsername(username); 116 return GetStubSanitizedUsername(cryptohome_id);
117 } 117 }
118 118
119 void FakeCryptohomeClient::AsyncMount(const std::string& username, 119 void FakeCryptohomeClient::AsyncMount(
120 const std::string& key, 120 const cryptohome::Identification& cryptohome_id,
121 int flags, 121 const std::string& key,
122 const AsyncMethodCallback& callback) { 122 int flags,
123 const AsyncMethodCallback& callback) {
123 ReturnAsyncMethodResult(callback, false); 124 ReturnAsyncMethodResult(callback, false);
124 } 125 }
125 126
126 void FakeCryptohomeClient::AsyncAddKey( 127 void FakeCryptohomeClient::AsyncAddKey(
127 const std::string& username, 128 const cryptohome::Identification& cryptohome_id,
128 const std::string& key, 129 const std::string& key,
129 const std::string& new_key, 130 const std::string& new_key,
130 const AsyncMethodCallback& callback) { 131 const AsyncMethodCallback& callback) {
131 ReturnAsyncMethodResult(callback, false); 132 ReturnAsyncMethodResult(callback, false);
132 } 133 }
133 134
134 void FakeCryptohomeClient::AsyncMountGuest( 135 void FakeCryptohomeClient::AsyncMountGuest(
135 const AsyncMethodCallback& callback) { 136 const AsyncMethodCallback& callback) {
136 ReturnAsyncMethodResult(callback, false); 137 ReturnAsyncMethodResult(callback, false);
137 } 138 }
138 139
139 void FakeCryptohomeClient::AsyncMountPublic( 140 void FakeCryptohomeClient::AsyncMountPublic(
140 const std::string& public_mount_id, 141 const cryptohome::Identification& public_mount_id,
141 int flags, 142 int flags,
142 const AsyncMethodCallback& callback) { 143 const AsyncMethodCallback& callback) {
143 ReturnAsyncMethodResult(callback, false); 144 ReturnAsyncMethodResult(callback, false);
144 } 145 }
145 146
146 void FakeCryptohomeClient::TpmIsReady( 147 void FakeCryptohomeClient::TpmIsReady(
147 const BoolDBusMethodCallback& callback) { 148 const BoolDBusMethodCallback& callback) {
148 base::MessageLoop::current()->PostTask( 149 base::MessageLoop::current()->PostTask(
149 FROM_HERE, base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, true)); 150 FROM_HERE, base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, true));
150 } 151 }
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 base::MessageLoop::current()->PostTask( 222 base::MessageLoop::current()->PostTask(
222 FROM_HERE, 223 FROM_HERE,
223 base::Bind(callback, 224 base::Bind(callback,
224 DBUS_METHOD_CALL_SUCCESS, 225 DBUS_METHOD_CALL_SUCCESS,
225 std::string(kStubTPMTokenName), 226 std::string(kStubTPMTokenName),
226 std::string(kStubUserPin), 227 std::string(kStubUserPin),
227 kStubSlot)); 228 kStubSlot));
228 } 229 }
229 230
230 void FakeCryptohomeClient::Pkcs11GetTpmTokenInfoForUser( 231 void FakeCryptohomeClient::Pkcs11GetTpmTokenInfoForUser(
231 const std::string& username, 232 const cryptohome::Identification& cryptohome_id,
232 const Pkcs11GetTpmTokenInfoCallback& callback) { 233 const Pkcs11GetTpmTokenInfoCallback& callback) {
233 Pkcs11GetTpmTokenInfo(callback); 234 Pkcs11GetTpmTokenInfo(callback);
234 } 235 }
235 236
236 bool FakeCryptohomeClient::InstallAttributesGet(const std::string& name, 237 bool FakeCryptohomeClient::InstallAttributesGet(const std::string& name,
237 std::vector<uint8_t>* value, 238 std::vector<uint8_t>* value,
238 bool* successful) { 239 bool* successful) {
239 if (install_attrs_.find(name) != install_attrs_.end()) { 240 if (install_attrs_.find(name) != install_attrs_.end()) {
240 *value = install_attrs_[name]; 241 *value = install_attrs_[name];
241 *successful = true; 242 *successful = true;
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 void FakeCryptohomeClient::AsyncTpmAttestationEnroll( 354 void FakeCryptohomeClient::AsyncTpmAttestationEnroll(
354 chromeos::attestation::PrivacyCAType pca_type, 355 chromeos::attestation::PrivacyCAType pca_type,
355 const std::string& pca_response, 356 const std::string& pca_response,
356 const AsyncMethodCallback& callback) { 357 const AsyncMethodCallback& callback) {
357 ReturnAsyncMethodResult(callback, false); 358 ReturnAsyncMethodResult(callback, false);
358 } 359 }
359 360
360 void FakeCryptohomeClient::AsyncTpmAttestationCreateCertRequest( 361 void FakeCryptohomeClient::AsyncTpmAttestationCreateCertRequest(
361 chromeos::attestation::PrivacyCAType pca_type, 362 chromeos::attestation::PrivacyCAType pca_type,
362 attestation::AttestationCertificateProfile certificate_profile, 363 attestation::AttestationCertificateProfile certificate_profile,
363 const std::string& user_id, 364 const cryptohome::Identification& cryptohome_id,
364 const std::string& request_origin, 365 const std::string& request_origin,
365 const AsyncMethodCallback& callback) { 366 const AsyncMethodCallback& callback) {
366 ReturnAsyncMethodResult(callback, true); 367 ReturnAsyncMethodResult(callback, true);
367 } 368 }
368 369
369 void FakeCryptohomeClient::AsyncTpmAttestationFinishCertRequest( 370 void FakeCryptohomeClient::AsyncTpmAttestationFinishCertRequest(
370 const std::string& pca_response, 371 const std::string& pca_response,
371 attestation::AttestationKeyType key_type, 372 attestation::AttestationKeyType key_type,
372 const std::string& user_id, 373 const cryptohome::Identification& cryptohome_id,
373 const std::string& key_name, 374 const std::string& key_name,
374 const AsyncMethodCallback& callback) { 375 const AsyncMethodCallback& callback) {
375 ReturnAsyncMethodResult(callback, true); 376 ReturnAsyncMethodResult(callback, true);
376 } 377 }
377 378
378 void FakeCryptohomeClient::TpmAttestationDoesKeyExist( 379 void FakeCryptohomeClient::TpmAttestationDoesKeyExist(
379 attestation::AttestationKeyType key_type, 380 attestation::AttestationKeyType key_type,
380 const std::string& user_id, 381 const cryptohome::Identification& cryptohome_id,
381 const std::string& key_name, 382 const std::string& key_name,
382 const BoolDBusMethodCallback& callback) { 383 const BoolDBusMethodCallback& callback) {
383 base::MessageLoop::current()->PostTask( 384 base::MessageLoop::current()->PostTask(
384 FROM_HERE, base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, false)); 385 FROM_HERE, base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, false));
385 } 386 }
386 387
387 void FakeCryptohomeClient::TpmAttestationGetCertificate( 388 void FakeCryptohomeClient::TpmAttestationGetCertificate(
388 attestation::AttestationKeyType key_type, 389 attestation::AttestationKeyType key_type,
389 const std::string& user_id, 390 const cryptohome::Identification& cryptohome_id,
390 const std::string& key_name, 391 const std::string& key_name,
391 const DataMethodCallback& callback) { 392 const DataMethodCallback& callback) {
392 base::MessageLoop::current()->PostTask( 393 base::MessageLoop::current()->PostTask(
393 FROM_HERE, 394 FROM_HERE,
394 base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, false, std::string())); 395 base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, false, std::string()));
395 } 396 }
396 397
397 void FakeCryptohomeClient::TpmAttestationGetPublicKey( 398 void FakeCryptohomeClient::TpmAttestationGetPublicKey(
398 attestation::AttestationKeyType key_type, 399 attestation::AttestationKeyType key_type,
399 const std::string& user_id, 400 const cryptohome::Identification& cryptohome_id,
400 const std::string& key_name, 401 const std::string& key_name,
401 const DataMethodCallback& callback) { 402 const DataMethodCallback& callback) {
402 base::MessageLoop::current()->PostTask( 403 base::MessageLoop::current()->PostTask(
403 FROM_HERE, 404 FROM_HERE,
404 base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, false, std::string())); 405 base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, false, std::string()));
405 } 406 }
406 407
407 void FakeCryptohomeClient::TpmAttestationRegisterKey( 408 void FakeCryptohomeClient::TpmAttestationRegisterKey(
408 attestation::AttestationKeyType key_type, 409 attestation::AttestationKeyType key_type,
409 const std::string& user_id, 410 const cryptohome::Identification& cryptohome_id,
410 const std::string& key_name, 411 const std::string& key_name,
411 const AsyncMethodCallback& callback) { 412 const AsyncMethodCallback& callback) {
412 ReturnAsyncMethodResult(callback, true); 413 ReturnAsyncMethodResult(callback, true);
413 } 414 }
414 415
415 void FakeCryptohomeClient::TpmAttestationSignEnterpriseChallenge( 416 void FakeCryptohomeClient::TpmAttestationSignEnterpriseChallenge(
416 attestation::AttestationKeyType key_type, 417 attestation::AttestationKeyType key_type,
417 const std::string& user_id, 418 const cryptohome::Identification& cryptohome_id,
418 const std::string& key_name, 419 const std::string& key_name,
419 const std::string& domain, 420 const std::string& domain,
420 const std::string& device_id, 421 const std::string& device_id,
421 attestation::AttestationChallengeOptions options, 422 attestation::AttestationChallengeOptions options,
422 const std::string& challenge, 423 const std::string& challenge,
423 const AsyncMethodCallback& callback) { 424 const AsyncMethodCallback& callback) {
424 ReturnAsyncMethodResult(callback, true); 425 ReturnAsyncMethodResult(callback, true);
425 } 426 }
426 427
427 void FakeCryptohomeClient::TpmAttestationSignSimpleChallenge( 428 void FakeCryptohomeClient::TpmAttestationSignSimpleChallenge(
428 attestation::AttestationKeyType key_type, 429 attestation::AttestationKeyType key_type,
429 const std::string& user_id, 430 const cryptohome::Identification& cryptohome_id,
430 const std::string& key_name, 431 const std::string& key_name,
431 const std::string& challenge, 432 const std::string& challenge,
432 const AsyncMethodCallback& callback) { 433 const AsyncMethodCallback& callback) {
433 ReturnAsyncMethodResult(callback, true); 434 ReturnAsyncMethodResult(callback, true);
434 } 435 }
435 436
436 void FakeCryptohomeClient::TpmAttestationGetKeyPayload( 437 void FakeCryptohomeClient::TpmAttestationGetKeyPayload(
437 attestation::AttestationKeyType key_type, 438 attestation::AttestationKeyType key_type,
438 const std::string& user_id, 439 const cryptohome::Identification& cryptohome_id,
439 const std::string& key_name, 440 const std::string& key_name,
440 const DataMethodCallback& callback) { 441 const DataMethodCallback& callback) {
441 base::MessageLoop::current()->PostTask( 442 base::MessageLoop::current()->PostTask(
442 FROM_HERE, 443 FROM_HERE,
443 base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, false, std::string())); 444 base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, false, std::string()));
444 } 445 }
445 446
446 void FakeCryptohomeClient::TpmAttestationSetKeyPayload( 447 void FakeCryptohomeClient::TpmAttestationSetKeyPayload(
447 attestation::AttestationKeyType key_type, 448 attestation::AttestationKeyType key_type,
448 const std::string& user_id, 449 const cryptohome::Identification& cryptohome_id,
449 const std::string& key_name, 450 const std::string& key_name,
450 const std::string& payload, 451 const std::string& payload,
451 const BoolDBusMethodCallback& callback) { 452 const BoolDBusMethodCallback& callback) {
452 base::MessageLoop::current()->PostTask( 453 base::MessageLoop::current()->PostTask(
453 FROM_HERE, base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, false)); 454 FROM_HERE, base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, false));
454 } 455 }
455 456
456 void FakeCryptohomeClient::TpmAttestationDeleteKeys( 457 void FakeCryptohomeClient::TpmAttestationDeleteKeys(
457 attestation::AttestationKeyType key_type, 458 attestation::AttestationKeyType key_type,
458 const std::string& user_id, 459 const cryptohome::Identification& cryptohome_id,
459 const std::string& key_prefix, 460 const std::string& key_prefix,
460 const BoolDBusMethodCallback& callback) { 461 const BoolDBusMethodCallback& callback) {
461 base::MessageLoop::current()->PostTask( 462 base::MessageLoop::current()->PostTask(
462 FROM_HERE, base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, false)); 463 FROM_HERE, base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, false));
463 } 464 }
464 465
465 void FakeCryptohomeClient::GetKeyDataEx( 466 void FakeCryptohomeClient::GetKeyDataEx(
466 const cryptohome::AccountIdentifier& id, 467 const cryptohome::Identification& cryptohome_id,
467 const cryptohome::AuthorizationRequest& auth, 468 const cryptohome::AuthorizationRequest& auth,
468 const cryptohome::GetKeyDataRequest& request, 469 const cryptohome::GetKeyDataRequest& request,
469 const ProtobufMethodCallback& callback) { 470 const ProtobufMethodCallback& callback) {
470 cryptohome::BaseReply reply; 471 cryptohome::BaseReply reply;
471 reply.MutableExtension(cryptohome::GetKeyDataReply::reply); 472 reply.MutableExtension(cryptohome::GetKeyDataReply::reply);
472 ReturnProtobufMethodCallback(reply, callback); 473 ReturnProtobufMethodCallback(reply, callback);
473 } 474 }
474 475
475 void FakeCryptohomeClient::CheckKeyEx( 476 void FakeCryptohomeClient::CheckKeyEx(
476 const cryptohome::AccountIdentifier& id, 477 const cryptohome::Identification& cryptohome_id,
477 const cryptohome::AuthorizationRequest& auth, 478 const cryptohome::AuthorizationRequest& auth,
478 const cryptohome::CheckKeyRequest& request, 479 const cryptohome::CheckKeyRequest& request,
479 const ProtobufMethodCallback& callback) { 480 const ProtobufMethodCallback& callback) {
480 cryptohome::BaseReply reply; 481 cryptohome::BaseReply reply;
481 ReturnProtobufMethodCallback(reply, callback); 482 ReturnProtobufMethodCallback(reply, callback);
482 } 483 }
483 484
484 void FakeCryptohomeClient::MountEx( 485 void FakeCryptohomeClient::MountEx(
485 const cryptohome::AccountIdentifier& id, 486 const cryptohome::Identification& cryptohome_id,
486 const cryptohome::AuthorizationRequest& auth, 487 const cryptohome::AuthorizationRequest& auth,
487 const cryptohome::MountRequest& request, 488 const cryptohome::MountRequest& request,
488 const ProtobufMethodCallback& callback) { 489 const ProtobufMethodCallback& callback) {
489 cryptohome::BaseReply reply; 490 cryptohome::BaseReply reply;
490 cryptohome::MountReply* mount = 491 cryptohome::MountReply* mount =
491 reply.MutableExtension(cryptohome::MountReply::reply); 492 reply.MutableExtension(cryptohome::MountReply::reply);
492 mount->set_sanitized_username(GetStubSanitizedUsername(id.email())); 493 mount->set_sanitized_username(GetStubSanitizedUsername(cryptohome_id));
493 ReturnProtobufMethodCallback(reply, callback); 494 ReturnProtobufMethodCallback(reply, callback);
494 } 495 }
495 496
496 void FakeCryptohomeClient::AddKeyEx( 497 void FakeCryptohomeClient::AddKeyEx(
497 const cryptohome::AccountIdentifier& id, 498 const cryptohome::Identification& cryptohome_id,
498 const cryptohome::AuthorizationRequest& auth, 499 const cryptohome::AuthorizationRequest& auth,
499 const cryptohome::AddKeyRequest& request, 500 const cryptohome::AddKeyRequest& request,
500 const ProtobufMethodCallback& callback) { 501 const ProtobufMethodCallback& callback) {
501 cryptohome::BaseReply reply; 502 cryptohome::BaseReply reply;
502 ReturnProtobufMethodCallback(reply, callback); 503 ReturnProtobufMethodCallback(reply, callback);
503 } 504 }
504 505
505 void FakeCryptohomeClient::RemoveKeyEx( 506 void FakeCryptohomeClient::RemoveKeyEx(
506 const cryptohome::AccountIdentifier& id, 507 const cryptohome::Identification& cryptohome_id,
507 const cryptohome::AuthorizationRequest& auth, 508 const cryptohome::AuthorizationRequest& auth,
508 const cryptohome::RemoveKeyRequest& request, 509 const cryptohome::RemoveKeyRequest& request,
509 const ProtobufMethodCallback& callback) { 510 const ProtobufMethodCallback& callback) {
510 cryptohome::BaseReply reply; 511 cryptohome::BaseReply reply;
511 ReturnProtobufMethodCallback(reply, callback); 512 ReturnProtobufMethodCallback(reply, callback);
512 } 513 }
513 514
514 void FakeCryptohomeClient::UpdateKeyEx( 515 void FakeCryptohomeClient::UpdateKeyEx(
515 const cryptohome::AccountIdentifier& id, 516 const cryptohome::Identification& cryptohome_id,
516 const cryptohome::AuthorizationRequest& auth, 517 const cryptohome::AuthorizationRequest& auth,
517 const cryptohome::UpdateKeyRequest& request, 518 const cryptohome::UpdateKeyRequest& request,
518 const ProtobufMethodCallback& callback) { 519 const ProtobufMethodCallback& callback) {
519 cryptohome::BaseReply reply; 520 cryptohome::BaseReply reply;
520 ReturnProtobufMethodCallback(reply, callback); 521 ReturnProtobufMethodCallback(reply, callback);
521 } 522 }
522 523
523 void FakeCryptohomeClient::GetBootAttribute( 524 void FakeCryptohomeClient::GetBootAttribute(
524 const cryptohome::GetBootAttributeRequest& request, 525 const cryptohome::GetBootAttributeRequest& request,
525 const ProtobufMethodCallback& callback) { 526 const ProtobufMethodCallback& callback) {
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
599 FROM_HERE, 600 FROM_HERE,
600 base::Bind(async_call_status_data_handler_, 601 base::Bind(async_call_status_data_handler_,
601 async_call_id_, 602 async_call_id_,
602 true, 603 true,
603 std::string())); 604 std::string()));
604 } 605 }
605 ++async_call_id_; 606 ++async_call_id_;
606 } 607 }
607 608
608 } // namespace chromeos 609 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/dbus/fake_cryptohome_client.h ('k') | chromeos/dbus/fake_session_manager_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698