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

Side by Side Diff: chrome/browser/extensions/api/networking_private/crypto_verify_impl.h

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 #ifndef CHROME_BROWSER_EXTENSIONS_API_NETWORKING_PRIVATE_CRYPTO_VERIFY_IMPL_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_NETWORKING_PRIVATE_CRYPTO_VERIFY_IMPL_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_NETWORKING_PRIVATE_CRYPTO_VERIFY_IMPL_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_NETWORKING_PRIVATE_CRYPTO_VERIFY_IMPL_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "chrome/browser/extensions/api/networking_private/networking_private_se rvice_client.h" 10 #include "chrome/browser/extensions/api/networking_private/networking_private_se rvice_client.h"
11 11
12 // Implementation of NetworkingPrivateServiceClient::CryptoVerify using 12 // Implementation of NetworkingPrivateServiceClient::CryptoVerify using
13 // networking_private_crypto. 13 // networking_private_crypto.
14 class CryptoVerifyImpl 14 class CryptoVerifyImpl
15 : public extensions::NetworkingPrivateServiceClient::CryptoVerify { 15 : public extensions::NetworkingPrivateServiceClient::CryptoVerify {
16 public: 16 public:
17 CryptoVerifyImpl(); 17 CryptoVerifyImpl();
18 virtual ~CryptoVerifyImpl(); 18 virtual ~CryptoVerifyImpl();
19 19
20 // NetworkingPrivateServiceClient::CryptoVerify 20 // NetworkingPrivateServiceClient::CryptoVerify
21 virtual void VerifyDestination(const Credentials& credentials, 21 virtual void VerifyDestination(const Credentials& credentials,
22 bool* verified, 22 bool* verified,
23 std::string* error) OVERRIDE; 23 std::string* error) override;
24 virtual void VerifyAndEncryptCredentials( 24 virtual void VerifyAndEncryptCredentials(
25 const std::string& network_guid, 25 const std::string& network_guid,
26 const Credentials& credentials, 26 const Credentials& credentials,
27 const VerifyAndEncryptCredentialsCallback& callback) OVERRIDE; 27 const VerifyAndEncryptCredentialsCallback& callback) override;
28 virtual void VerifyAndEncryptData(const Credentials& credentials, 28 virtual void VerifyAndEncryptData(const Credentials& credentials,
29 const std::string& data, 29 const std::string& data,
30 std::string* base64_encoded_ciphertext, 30 std::string* base64_encoded_ciphertext,
31 std::string* error) OVERRIDE; 31 std::string* error) override;
32 32
33 private: 33 private:
34 DISALLOW_COPY_AND_ASSIGN(CryptoVerifyImpl); 34 DISALLOW_COPY_AND_ASSIGN(CryptoVerifyImpl);
35 }; 35 };
36 36
37 #endif // CHROME_BROWSER_EXTENSIONS_API_NETWORKING_PRIVATE_CRYPTO_VERIFY_IMPL_H _ 37 #endif // CHROME_BROWSER_EXTENSIONS_API_NETWORKING_PRIVATE_CRYPTO_VERIFY_IMPL_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698