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

Side by Side Diff: chrome/browser/extensions/api/networking_private/networking_private_credentials_getter_mac.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/networking_private/networking_private_cr edentials_getter.h" 5 #include "chrome/browser/extensions/api/networking_private/networking_private_cr edentials_getter.h"
6 6
7 #include <Security/Security.h> 7 #include <Security/Security.h>
8 8
9 #include "base/base64.h" 9 #include "base/base64.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "chrome/common/extensions/api/networking_private/networking_private_cry pto.h" 11 #include "chrome/common/extensions/api/networking_private/networking_private_cry pto.h"
12 #include "content/public/browser/browser_thread.h" 12 #include "content/public/browser/browser_thread.h"
13 13
14 const char kErrorEncryption[] = "Error.Encryption"; 14 const char kErrorEncryption[] = "Error.Encryption";
15 15
16 using content::BrowserThread; 16 using content::BrowserThread;
17 17
18 namespace extensions { 18 namespace extensions {
19 19
20 class NetworkingPrivateCredentialsGetterMac 20 class NetworkingPrivateCredentialsGetterMac
21 : public NetworkingPrivateCredentialsGetter { 21 : public NetworkingPrivateCredentialsGetter {
22 public: 22 public:
23 explicit NetworkingPrivateCredentialsGetterMac(); 23 explicit NetworkingPrivateCredentialsGetterMac();
24 24
25 virtual void Start( 25 virtual void Start(
26 const std::string& network_guid, 26 const std::string& network_guid,
27 const std::string& public_key, 27 const std::string& public_key,
28 const extensions::NetworkingPrivateServiceClient::CryptoVerify:: 28 const extensions::NetworkingPrivateServiceClient::CryptoVerify::
29 VerifyAndEncryptCredentialsCallback& callback) OVERRIDE; 29 VerifyAndEncryptCredentialsCallback& callback) override;
30 30
31 private: 31 private:
32 virtual ~NetworkingPrivateCredentialsGetterMac(); 32 virtual ~NetworkingPrivateCredentialsGetterMac();
33 33
34 DISALLOW_COPY_AND_ASSIGN(NetworkingPrivateCredentialsGetterMac); 34 DISALLOW_COPY_AND_ASSIGN(NetworkingPrivateCredentialsGetterMac);
35 }; 35 };
36 36
37 NetworkingPrivateCredentialsGetterMac::NetworkingPrivateCredentialsGetterMac() { 37 NetworkingPrivateCredentialsGetterMac::NetworkingPrivateCredentialsGetterMac() {
38 } 38 }
39 39
(...skipping 29 matching lines...) Expand all
69 &base64_encoded_ciphertext); 69 &base64_encoded_ciphertext);
70 callback.Run(base64_encoded_ciphertext, ""); 70 callback.Run(base64_encoded_ciphertext, "");
71 } 71 }
72 72
73 NetworkingPrivateCredentialsGetter* 73 NetworkingPrivateCredentialsGetter*
74 NetworkingPrivateCredentialsGetter::Create() { 74 NetworkingPrivateCredentialsGetter::Create() {
75 return new NetworkingPrivateCredentialsGetterMac(); 75 return new NetworkingPrivateCredentialsGetterMac();
76 } 76 }
77 77
78 } // namespace extensions 78 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698