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

Unified Diff: chrome/renderer/extensions/platform_keys_natives.h

Issue 847333004: Move parts from enterprise.platformKeysInternal to platformKeysInternal for reuse. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cert_idl
Patch Set: Rebased. Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/renderer/extensions/platform_keys_natives.h
diff --git a/chrome/renderer/extensions/enterprise_platform_keys_natives.h b/chrome/renderer/extensions/platform_keys_natives.h
similarity index 71%
rename from chrome/renderer/extensions/enterprise_platform_keys_natives.h
rename to chrome/renderer/extensions/platform_keys_natives.h
index 9649aee268d17dfc396b3d6797881d5c3b7453dc..e83341424e7accf25c1f6b7fdccf285dbe6bc802 100644
--- a/chrome/renderer/extensions/enterprise_platform_keys_natives.h
+++ b/chrome/renderer/extensions/platform_keys_natives.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_RENDERER_EXTENSIONS_ENTERPRISE_PLATFORM_KEYS_NATIVES_H_
-#define CHROME_RENDERER_EXTENSIONS_ENTERPRISE_PLATFORM_KEYS_NATIVES_H_
+#ifndef CHROME_RENDERER_EXTENSIONS_PLATFORM_KEYS_NATIVES_H_
+#define CHROME_RENDERER_EXTENSIONS_PLATFORM_KEYS_NATIVES_H_
#include "extensions/renderer/object_backed_native_handler.h"
#include "v8/include/v8.h"
@@ -11,9 +11,9 @@
namespace extensions {
class ScriptContext;
-class EnterprisePlatformKeysNatives : public ObjectBackedNativeHandler {
+class PlatformKeysNatives : public ObjectBackedNativeHandler {
public:
- explicit EnterprisePlatformKeysNatives(ScriptContext* context);
+ explicit PlatformKeysNatives(ScriptContext* context);
private:
// Normalizes algorithm parameters, and then validates the expected parameters
@@ -27,9 +27,9 @@ class EnterprisePlatformKeysNatives : public ObjectBackedNativeHandler {
// arrays instead of typed arrays (e.g. for RSA publicExponent).
void NormalizeAlgorithm(const v8::FunctionCallbackInfo<v8::Value>& call_info);
- DISALLOW_COPY_AND_ASSIGN(EnterprisePlatformKeysNatives);
+ DISALLOW_COPY_AND_ASSIGN(PlatformKeysNatives);
};
} // namespace extensions
-#endif // CHROME_RENDERER_EXTENSIONS_ENTERPRISE_PLATFORM_KEYS_NATIVES_H_
+#endif // CHROME_RENDERER_EXTENSIONS_PLATFORM_KEYS_NATIVES_H_
« no previous file with comments | « chrome/renderer/extensions/enterprise_platform_keys_natives.cc ('k') | chrome/renderer/extensions/platform_keys_natives.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698