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

Side by Side Diff: chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 #ifndef CHROME_BROWSER_EXTENSIONS_API_ENTERPRISE_PLATFORM_KEYS_PRIVATE_ENTERPRIS E_PLATFORM_KEYS_PRIVATE_API_H__ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_ENTERPRISE_PLATFORM_KEYS_PRIVATE_ENTERPRIS E_PLATFORM_KEYS_PRIVATE_API_H__
6 #define CHROME_BROWSER_EXTENSIONS_API_ENTERPRISE_PLATFORM_KEYS_PRIVATE_ENTERPRIS E_PLATFORM_KEYS_PRIVATE_API_H__ 6 #define CHROME_BROWSER_EXTENSIONS_API_ENTERPRISE_PLATFORM_KEYS_PRIVATE_ENTERPRIS E_PLATFORM_KEYS_PRIVATE_API_H__
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 static const char kNonEnterpriseDeviceError[]; 151 static const char kNonEnterpriseDeviceError[];
152 152
153 EPKPChallengeMachineKey(); 153 EPKPChallengeMachineKey();
154 EPKPChallengeMachineKey( 154 EPKPChallengeMachineKey(
155 chromeos::CryptohomeClient* cryptohome_client, 155 chromeos::CryptohomeClient* cryptohome_client,
156 cryptohome::AsyncMethodCaller* async_caller, 156 cryptohome::AsyncMethodCaller* async_caller,
157 chromeos::attestation::AttestationFlow* attestation_flow, 157 chromeos::attestation::AttestationFlow* attestation_flow,
158 policy::EnterpriseInstallAttributes* install_attributes); 158 policy::EnterpriseInstallAttributes* install_attributes);
159 159
160 protected: 160 protected:
161 virtual bool RunAsync() OVERRIDE; 161 virtual bool RunAsync() override;
162 162
163 private: 163 private:
164 static const char kKeyName[]; 164 static const char kKeyName[];
165 165
166 virtual ~EPKPChallengeMachineKey(); 166 virtual ~EPKPChallengeMachineKey();
167 167
168 void GetDeviceAttestationEnabledCallback(const std::string& challenge, 168 void GetDeviceAttestationEnabledCallback(const std::string& challenge,
169 bool enabled); 169 bool enabled);
170 void PrepareKeyCallback(const std::string& challenge, 170 void PrepareKeyCallback(const std::string& challenge,
171 PrepareKeyResult result); 171 PrepareKeyResult result);
(...skipping 16 matching lines...) Expand all
188 EPKPChallengeUserKey(); 188 EPKPChallengeUserKey();
189 EPKPChallengeUserKey( 189 EPKPChallengeUserKey(
190 chromeos::CryptohomeClient* cryptohome_client, 190 chromeos::CryptohomeClient* cryptohome_client,
191 cryptohome::AsyncMethodCaller* async_caller, 191 cryptohome::AsyncMethodCaller* async_caller,
192 chromeos::attestation::AttestationFlow* attestation_flow, 192 chromeos::attestation::AttestationFlow* attestation_flow,
193 policy::EnterpriseInstallAttributes* install_attributes); 193 policy::EnterpriseInstallAttributes* install_attributes);
194 194
195 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); 195 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
196 196
197 protected: 197 protected:
198 virtual bool RunAsync() OVERRIDE; 198 virtual bool RunAsync() override;
199 199
200 private: 200 private:
201 static const char kKeyName[]; 201 static const char kKeyName[];
202 202
203 virtual ~EPKPChallengeUserKey(); 203 virtual ~EPKPChallengeUserKey();
204 204
205 void GetDeviceAttestationEnabledCallback(const std::string& challenge, 205 void GetDeviceAttestationEnabledCallback(const std::string& challenge,
206 bool register_key, 206 bool register_key,
207 bool require_user_consent, 207 bool require_user_consent,
208 bool enabled); 208 bool enabled);
(...skipping 13 matching lines...) Expand all
222 "enterprise.platformKeysPrivate.challengeUserKey", 222 "enterprise.platformKeysPrivate.challengeUserKey",
223 ENTERPRISE_PLATFORMKEYSPRIVATE_CHALLENGEUSERKEY); 223 ENTERPRISE_PLATFORMKEYSPRIVATE_CHALLENGEUSERKEY);
224 }; 224 };
225 225
226 typedef EPKPChallengeUserKey 226 typedef EPKPChallengeUserKey
227 EnterprisePlatformKeysPrivateChallengeUserKeyFunction; 227 EnterprisePlatformKeysPrivateChallengeUserKeyFunction;
228 228
229 } // namespace extensions 229 } // namespace extensions
230 230
231 #endif // CHROME_BROWSER_EXTENSIONS_API_ENTERPRISE_PLATFORM_KEYS_PRIVATE_ENTERP RISE_PLATFORM_KEYS_PRIVATE_API_H__ 231 #endif // CHROME_BROWSER_EXTENSIONS_API_ENTERPRISE_PLATFORM_KEYS_PRIVATE_ENTERP RISE_PLATFORM_KEYS_PRIVATE_API_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698