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

Side by Side Diff: chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_crypto_delegate_stub.cc

Issue 624153002: replace OVERRIDE and FINAL with override and final in chrome/browser/extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 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 "chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_ crypto_delegate.h" 5 #include "chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_ crypto_delegate.h"
6 6
7 namespace extensions { 7 namespace extensions {
8 namespace api { 8 namespace api {
9 9
10 namespace { 10 namespace {
11 11
12 // Stub EasyUnlockPrivateCryptoDelegate implementation. 12 // Stub EasyUnlockPrivateCryptoDelegate implementation.
13 class EasyUnlockPrivateCryptoDelegateStub 13 class EasyUnlockPrivateCryptoDelegateStub
14 : public extensions::api::EasyUnlockPrivateCryptoDelegate { 14 : public extensions::api::EasyUnlockPrivateCryptoDelegate {
15 public: 15 public:
16 EasyUnlockPrivateCryptoDelegateStub() {} 16 EasyUnlockPrivateCryptoDelegateStub() {}
17 17
18 virtual ~EasyUnlockPrivateCryptoDelegateStub() {} 18 virtual ~EasyUnlockPrivateCryptoDelegateStub() {}
19 19
20 virtual void GenerateEcP256KeyPair(const KeyPairCallback& callback) OVERRIDE { 20 virtual void GenerateEcP256KeyPair(const KeyPairCallback& callback) override {
21 callback.Run("", ""); 21 callback.Run("", "");
22 } 22 }
23 23
24 virtual void PerformECDHKeyAgreement( 24 virtual void PerformECDHKeyAgreement(
25 const easy_unlock_private::PerformECDHKeyAgreement::Params& params, 25 const easy_unlock_private::PerformECDHKeyAgreement::Params& params,
26 const DataCallback& callback) OVERRIDE { 26 const DataCallback& callback) override {
27 callback.Run(""); 27 callback.Run("");
28 } 28 }
29 29
30 virtual void CreateSecureMessage( 30 virtual void CreateSecureMessage(
31 const easy_unlock_private::CreateSecureMessage::Params& params, 31 const easy_unlock_private::CreateSecureMessage::Params& params,
32 const DataCallback& callback) OVERRIDE { 32 const DataCallback& callback) override {
33 callback.Run(""); 33 callback.Run("");
34 } 34 }
35 35
36 virtual void UnwrapSecureMessage( 36 virtual void UnwrapSecureMessage(
37 const easy_unlock_private::UnwrapSecureMessage::Params& params, 37 const easy_unlock_private::UnwrapSecureMessage::Params& params,
38 const DataCallback& callback) OVERRIDE { 38 const DataCallback& callback) override {
39 callback.Run(""); 39 callback.Run("");
40 } 40 }
41 41
42 private: 42 private:
43 DISALLOW_COPY_AND_ASSIGN(EasyUnlockPrivateCryptoDelegateStub); 43 DISALLOW_COPY_AND_ASSIGN(EasyUnlockPrivateCryptoDelegateStub);
44 }; 44 };
45 45
46 } // namespace 46 } // namespace
47 47
48 // static 48 // static
49 scoped_ptr<EasyUnlockPrivateCryptoDelegate> 49 scoped_ptr<EasyUnlockPrivateCryptoDelegate>
50 EasyUnlockPrivateCryptoDelegate::Create() { 50 EasyUnlockPrivateCryptoDelegate::Create() {
51 return scoped_ptr<EasyUnlockPrivateCryptoDelegate>( 51 return scoped_ptr<EasyUnlockPrivateCryptoDelegate>(
52 new EasyUnlockPrivateCryptoDelegateStub()); 52 new EasyUnlockPrivateCryptoDelegateStub());
53 } 53 }
54 54
55 } // namespace api 55 } // namespace api
56 } // namespace extensions 56 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698