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

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

Issue 397733004: Allow assertions to be enabled in Blink Release builds. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased. Created 6 years, 5 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
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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 51
52 // For use by Source/modules/indexeddb: 52 // For use by Source/modules/indexeddb:
53 IDBKey* createIDBKeyFromScriptValueAndKeyPath(v8::Isolate*, const ScriptValue&, const IDBKeyPath&); 53 IDBKey* createIDBKeyFromScriptValueAndKeyPath(v8::Isolate*, const ScriptValue&, const IDBKeyPath&);
54 bool canInjectIDBKeyIntoScriptValue(v8::Isolate*, const ScriptValue&, const IDBK eyPath&); 54 bool canInjectIDBKeyIntoScriptValue(v8::Isolate*, const ScriptValue&, const IDBK eyPath&);
55 ScriptValue idbAnyToScriptValue(ScriptState*, IDBAny*); 55 ScriptValue idbAnyToScriptValue(ScriptState*, IDBAny*);
56 ScriptValue idbKeyToScriptValue(ScriptState*, IDBKey*); 56 ScriptValue idbKeyToScriptValue(ScriptState*, IDBKey*);
57 IDBKey* scriptValueToIDBKey(v8::Isolate*, const ScriptValue&); 57 IDBKey* scriptValueToIDBKey(v8::Isolate*, const ScriptValue&);
58 IDBKeyRange* scriptValueToIDBKeyRange(v8::Isolate*, const ScriptValue&); 58 IDBKeyRange* scriptValueToIDBKeyRange(v8::Isolate*, const ScriptValue&);
59 ScriptValue deserializeScriptValue(ScriptState*, SerializedScriptValue*, const V ector<blink::WebBlobInfo>*); 59 ScriptValue deserializeScriptValue(ScriptState*, SerializedScriptValue*, const V ector<blink::WebBlobInfo>*);
60 60
61 #ifndef NDEBUG 61 #if ENABLE(ASSERT)
62 void assertPrimaryKeyValidOrInjectable(ScriptState*, PassRefPtr<SharedBuffer>, c onst Vector<blink::WebBlobInfo>*, IDBKey*, const IDBKeyPath&); 62 void assertPrimaryKeyValidOrInjectable(ScriptState*, PassRefPtr<SharedBuffer>, c onst Vector<blink::WebBlobInfo>*, IDBKey*, const IDBKeyPath&);
63 #endif 63 #endif
64 64
65 } // namespace WebCore 65 } // namespace WebCore
66 66
67 #endif // IDBBindingUtilities_h 67 #endif // IDBBindingUtilities_h
OLDNEW
« no previous file with comments | « Source/bindings/core/v8/npruntime.cpp ('k') | Source/bindings/modules/v8/IDBBindingUtilities.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698