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

Side by Side Diff: chromeos/attestation/mock_attestation_flow.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: Add cryptohome::Identification() . Created 4 years, 10 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/attestation/mock_attestation_flow.h" 5 #include "chromeos/attestation/mock_attestation_flow.h"
6 6
7 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
8 #include "components/signin/core/account_id/account_id.h"
8 9
9 using testing::_; 10 using testing::_;
10 using testing::DefaultValue; 11 using testing::DefaultValue;
11 using testing::Invoke; 12 using testing::Invoke;
12 13
13 namespace chromeos { 14 namespace chromeos {
14 namespace attestation { 15 namespace attestation {
15 16
16 FakeServerProxy::FakeServerProxy() : result_(true) {} 17 FakeServerProxy::FakeServerProxy() : result_(true) {}
17 18
(...skipping 27 matching lines...) Expand all
45 46
46 MockObserver::~MockObserver() {} 47 MockObserver::~MockObserver() {}
47 48
48 MockAttestationFlow::MockAttestationFlow() 49 MockAttestationFlow::MockAttestationFlow()
49 : AttestationFlow(NULL, NULL, scoped_ptr<ServerProxy>()) {} 50 : AttestationFlow(NULL, NULL, scoped_ptr<ServerProxy>()) {}
50 51
51 MockAttestationFlow::~MockAttestationFlow() {} 52 MockAttestationFlow::~MockAttestationFlow() {}
52 53
53 } // namespace attestation 54 } // namespace attestation
54 } // namespace chromeos 55 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698