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

Side by Side Diff: Source/bindings/modules/v8/IDBBindingUtilities.h

Issue 660243003: v8::Handle should be replaced with v8::Local in Source/bindings/modules (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.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
« no previous file with comments | « no previous file | Source/bindings/modules/v8/IDBBindingUtilities.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 24 matching lines...) Expand all
35 35
36 class IDBAny; 36 class IDBAny;
37 class IDBKey; 37 class IDBKey;
38 class IDBKeyPath; 38 class IDBKeyPath;
39 class IDBKeyRange; 39 class IDBKeyRange;
40 class SerializedScriptValue; 40 class SerializedScriptValue;
41 class SharedBuffer; 41 class SharedBuffer;
42 class WebBlobInfo; 42 class WebBlobInfo;
43 43
44 // Exposed for unit testing: 44 // Exposed for unit testing:
45 bool injectV8KeyIntoV8Value(v8::Isolate*, v8::Handle<v8::Value> key, v8::Handle< v8::Value>, const IDBKeyPath&); 45 bool injectV8KeyIntoV8Value(v8::Isolate*, v8::Local<v8::Value> key, v8::Local<v8 ::Value>, const IDBKeyPath&);
46 46
47 // For use by Source/modules/indexeddb: 47 // For use by Source/modules/indexeddb:
48 IDBKey* createIDBKeyFromScriptValueAndKeyPath(v8::Isolate*, const ScriptValue&, const IDBKeyPath&); 48 IDBKey* createIDBKeyFromScriptValueAndKeyPath(v8::Isolate*, const ScriptValue&, const IDBKeyPath&);
49 bool canInjectIDBKeyIntoScriptValue(v8::Isolate*, const ScriptValue&, const IDBK eyPath&); 49 bool canInjectIDBKeyIntoScriptValue(v8::Isolate*, const ScriptValue&, const IDBK eyPath&);
50 ScriptValue idbAnyToScriptValue(ScriptState*, IDBAny*); 50 ScriptValue idbAnyToScriptValue(ScriptState*, IDBAny*);
51 ScriptValue idbKeyToScriptValue(ScriptState*, IDBKey*); 51 ScriptValue idbKeyToScriptValue(ScriptState*, IDBKey*);
52 IDBKey* scriptValueToIDBKey(v8::Isolate*, const ScriptValue&); 52 IDBKey* scriptValueToIDBKey(v8::Isolate*, const ScriptValue&);
53 IDBKeyRange* scriptValueToIDBKeyRange(v8::Isolate*, const ScriptValue&); 53 IDBKeyRange* scriptValueToIDBKeyRange(v8::Isolate*, const ScriptValue&);
54 ScriptValue deserializeScriptValue(ScriptState*, SerializedScriptValue*, const V ector<blink::WebBlobInfo>*); 54 ScriptValue deserializeScriptValue(ScriptState*, SerializedScriptValue*, const V ector<blink::WebBlobInfo>*);
55 55
56 #if ENABLE(ASSERT) 56 #if ENABLE(ASSERT)
57 void assertPrimaryKeyValidOrInjectable(ScriptState*, PassRefPtr<SharedBuffer>, c onst Vector<blink::WebBlobInfo>*, IDBKey*, const IDBKeyPath&); 57 void assertPrimaryKeyValidOrInjectable(ScriptState*, PassRefPtr<SharedBuffer>, c onst Vector<blink::WebBlobInfo>*, IDBKey*, const IDBKeyPath&);
58 #endif 58 #endif
59 59
60 } // namespace blink 60 } // namespace blink
61 61
62 #endif // IDBBindingUtilities_h 62 #endif // IDBBindingUtilities_h
OLDNEW
« no previous file with comments | « no previous file | Source/bindings/modules/v8/IDBBindingUtilities.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698