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

Unified Diff: Source/modules/indexeddb/IDBRequestTest.cpp

Issue 454353002: Cleanup namespace usage in modules/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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 | « Source/modules/indexeddb/IDBKeyPathTest.cpp ('k') | Source/modules/indexeddb/IDBTransactionTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/indexeddb/IDBRequestTest.cpp
diff --git a/Source/modules/indexeddb/IDBRequestTest.cpp b/Source/modules/indexeddb/IDBRequestTest.cpp
index 7eed1b98081125c051a3cc4795e8e61c7c8d787a..46812baea81491ee0f6f019cfb35247c756c1d41 100644
--- a/Source/modules/indexeddb/IDBRequestTest.cpp
+++ b/Source/modules/indexeddb/IDBRequestTest.cpp
@@ -46,9 +46,7 @@
#include <gtest/gtest.h>
#include <v8.h>
-using blink::WebBlobInfo;
-using namespace blink;
-
+namespace blink {
namespace {
class IDBRequestTest : public testing::Test {
@@ -107,7 +105,7 @@ TEST_F(IDBRequestTest, AbortErrorAfterAbort)
request->onError(DOMError::create(AbortError, "Description goes here."));
}
-class MockWebIDBDatabase : public blink::WebIDBDatabase {
+class MockWebIDBDatabase : public WebIDBDatabase {
public:
static PassOwnPtr<MockWebIDBDatabase> create()
{
@@ -147,7 +145,7 @@ TEST_F(IDBRequestTest, ConnectionsAfterStopping)
EXPECT_EQ(request->readyState(), "pending");
executionContext()->stopActiveDOMObjects();
- request->onUpgradeNeeded(oldVersion, backend.release(), metadata, blink::WebIDBDataLossNone, String());
+ request->onUpgradeNeeded(oldVersion, backend.release(), metadata, WebIDBDataLossNone, String());
}
{
@@ -161,3 +159,4 @@ TEST_F(IDBRequestTest, ConnectionsAfterStopping)
}
} // namespace
+} // namespace blink
« no previous file with comments | « Source/modules/indexeddb/IDBKeyPathTest.cpp ('k') | Source/modules/indexeddb/IDBTransactionTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698