| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "base/memory/scoped_ptr.h" | 5 #include "base/memory/scoped_ptr.h" |
| 6 #include "base/values.h" | 6 #include "base/values.h" |
| 7 #include "content/common/indexed_db/indexed_db_dispatcher.h" | 7 #include "content/common/indexed_db/indexed_db_dispatcher.h" |
| 8 #include "content/common/indexed_db/indexed_db_key.h" | 8 #include "content/common/indexed_db/indexed_db_key.h" |
| 9 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
| 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebData.h" | 10 #include "third_party/WebKit/public/platform/WebData.h" |
| 11 #include "third_party/WebKit/Source/Platform/chromium/public/WebIDBCallbacks.h" | 11 #include "third_party/WebKit/public/platform/WebIDBCallbacks.h" |
| 12 | 12 |
| 13 using WebKit::WebData; | 13 using WebKit::WebData; |
| 14 using WebKit::WebIDBCallbacks; | 14 using WebKit::WebIDBCallbacks; |
| 15 using WebKit::WebIDBDatabase; | 15 using WebKit::WebIDBDatabase; |
| 16 using WebKit::WebIDBDatabaseError; | 16 using WebKit::WebIDBDatabaseError; |
| 17 using WebKit::WebIDBKey; | 17 using WebKit::WebIDBKey; |
| 18 using WebKit::WebVector; | 18 using WebKit::WebVector; |
| 19 | 19 |
| 20 namespace content { | 20 namespace content { |
| 21 namespace { | 21 namespace { |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 key, | 53 key, |
| 54 WebIDBDatabase::AddOrUpdate, | 54 WebIDBDatabase::AddOrUpdate, |
| 55 &callbacks, | 55 &callbacks, |
| 56 WebVector<long long>(), | 56 WebVector<long long>(), |
| 57 WebVector<WebVector<WebIDBKey> >()); | 57 WebVector<WebVector<WebIDBKey> >()); |
| 58 | 58 |
| 59 EXPECT_TRUE(callbacks.error_seen()); | 59 EXPECT_TRUE(callbacks.error_seen()); |
| 60 } | 60 } |
| 61 | 61 |
| 62 } // namespace content | 62 } // namespace content |
| OLD | NEW |