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

Side by Side Diff: chrome/renderer/extensions/enterprise_platform_keys_natives.h

Issue 298073009: Reuse WebCrypto's normalizeCryptoAlgorithm in enterprise.platformKeys. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_RENDERER_EXTENSIONS_ENTERPRISE_PLATFORM_KEYS_NATIVES_H_
6 #define CHROME_RENDERER_EXTENSIONS_ENTERPRISE_PLATFORM_KEYS_NATIVES_H_
7
8 #include "extensions/renderer/object_backed_native_handler.h"
9 #include "v8/include/v8.h"
10
11 namespace extensions {
12 class ScriptContext;
13
14 class EnterprisePlatformKeysNatives : public ObjectBackedNativeHandler {
15 public:
16 explicit EnterprisePlatformKeysNatives(ScriptContext* context);
17
18 private:
19 void NormalizeAlgorithm(const v8::FunctionCallbackInfo<v8::Value>& call_info);
not at google - send to devlin 2014/05/29 15:06:57 it's nice to document what the expected parameters
pneubeck (no reviews) 2014/06/02 14:01:55 Done.
20
21 DISALLOW_COPY_AND_ASSIGN(EnterprisePlatformKeysNatives);
22 };
23
24 } // namespace extensions
25
26 #endif // CHROME_RENDERER_EXTENSIONS_ENTERPRISE_PLATFORM_KEYS_NATIVES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698