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

Unified Diff: extensions/renderer/utils_native_handler.h

Issue 332233002: enterprise.platformKeys: Copy-on-read the 'algorithm' member of Key objects. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed the unnecessary unit test. Created 6 years, 6 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
« no previous file with comments | « extensions/renderer/resources/utils.js ('k') | extensions/renderer/utils_native_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/utils_native_handler.h
diff --git a/extensions/renderer/utils_native_handler.h b/extensions/renderer/utils_native_handler.h
index 6fbc62d0f163a2af7dedb5f26beea5bfe6bb63c8..1b2c8bb77c8f7f3895ff221f8f4f2bffeab6385d 100644
--- a/extensions/renderer/utils_native_handler.h
+++ b/extensions/renderer/utils_native_handler.h
@@ -21,6 +21,11 @@ class UtilsNativeHandler : public ObjectBackedNativeHandler {
// that wraps the implementation, while hiding its members.
void CreateClassWrapper(const v8::FunctionCallbackInfo<v8::Value>& args);
+ // |args| consists of one argument: an arbitrary value. Returns a deep copy of
+ // that value. The copy will have no references to nested values of the
+ // argument.
+ void DeepCopy(const v8::FunctionCallbackInfo<v8::Value>& args);
+
DISALLOW_COPY_AND_ASSIGN(UtilsNativeHandler);
};
« no previous file with comments | « extensions/renderer/resources/utils.js ('k') | extensions/renderer/utils_native_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698