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

Side by Side Diff: third_party/WebKit/Source/modules/indexeddb/WebIDBCallbacksImpl.cpp

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * 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 * 10 *
(...skipping 10 matching lines...) Expand all
21 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 21 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 22 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */ 27 */
28 28
29 #include "modules/indexeddb/WebIDBCallbacksImpl.h" 29 #include "modules/indexeddb/WebIDBCallbacksImpl.h"
30 30
31 #include <memory>
31 #include "core/dom/DOMException.h" 32 #include "core/dom/DOMException.h"
32 #include "core/inspector/InspectorInstrumentation.h" 33 #include "core/inspector/InspectorInstrumentation.h"
33 #include "modules/IndexedDBNames.h" 34 #include "modules/IndexedDBNames.h"
34 #include "modules/indexeddb/IDBMetadata.h" 35 #include "modules/indexeddb/IDBMetadata.h"
35 #include "modules/indexeddb/IDBRequest.h" 36 #include "modules/indexeddb/IDBRequest.h"
36 #include "modules/indexeddb/IDBValue.h" 37 #include "modules/indexeddb/IDBValue.h"
37 #include "platform/SharedBuffer.h" 38 #include "platform/SharedBuffer.h"
38 #include "public/platform/modules/indexeddb/WebIDBCursor.h" 39 #include "public/platform/modules/indexeddb/WebIDBCursor.h"
39 #include "public/platform/modules/indexeddb/WebIDBDatabase.h" 40 #include "public/platform/modules/indexeddb/WebIDBDatabase.h"
40 #include "public/platform/modules/indexeddb/WebIDBDatabaseError.h" 41 #include "public/platform/modules/indexeddb/WebIDBDatabaseError.h"
41 #include "public/platform/modules/indexeddb/WebIDBKey.h" 42 #include "public/platform/modules/indexeddb/WebIDBKey.h"
42 #include "public/platform/modules/indexeddb/WebIDBValue.h" 43 #include "public/platform/modules/indexeddb/WebIDBValue.h"
43 #include "wtf/PtrUtil.h" 44 #include "wtf/PtrUtil.h"
44 #include <memory>
45 45
46 using blink::WebIDBCursor; 46 using blink::WebIDBCursor;
47 using blink::WebIDBDatabase; 47 using blink::WebIDBDatabase;
48 using blink::WebIDBDatabaseError; 48 using blink::WebIDBDatabaseError;
49 using blink::WebIDBKey; 49 using blink::WebIDBKey;
50 using blink::WebIDBKeyPath; 50 using blink::WebIDBKeyPath;
51 using blink::WebIDBMetadata; 51 using blink::WebIDBMetadata;
52 using blink::WebIDBValue; 52 using blink::WebIDBValue;
53 using blink::WebVector; 53 using blink::WebVector;
54 54
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 } else { 203 } else {
204 db->close(); 204 db->close();
205 } 205 }
206 } 206 }
207 207
208 void WebIDBCallbacksImpl::detach() { 208 void WebIDBCallbacksImpl::detach() {
209 m_request.clear(); 209 m_request.clear();
210 } 210 }
211 211
212 } // namespace blink 212 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698