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

Unified Diff: Source/modules/indexeddb/IDBTransactionTest.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
Index: Source/modules/indexeddb/IDBTransactionTest.cpp
diff --git a/Source/modules/indexeddb/IDBTransactionTest.cpp b/Source/modules/indexeddb/IDBTransactionTest.cpp
index 4d9962abe1cd09f0fbbdd724a571cecc81748c33..074b0d3d10e488a1ffd623440fcb1af37fc0fc38 100644
--- a/Source/modules/indexeddb/IDBTransactionTest.cpp
+++ b/Source/modules/indexeddb/IDBTransactionTest.cpp
@@ -41,10 +41,7 @@
#include <gtest/gtest.h>
#include <v8.h>
-using namespace blink;
-
-using blink::WebIDBDatabase;
-
+namespace blink {
namespace {
class IDBTransactionTest : public testing::Test {
@@ -70,7 +67,7 @@ private:
RefPtrWillBePersistent<ExecutionContext> m_executionContext;
};
-class FakeWebIDBDatabase FINAL : public blink::WebIDBDatabase {
+class FakeWebIDBDatabase FINAL : public WebIDBDatabase {
public:
static PassOwnPtr<FakeWebIDBDatabase> create() { return adoptPtr(new FakeWebIDBDatabase()); }
@@ -100,7 +97,7 @@ TEST_F(IDBTransactionTest, EnsureLifetime)
const int64_t transactionId = 1234;
const Vector<String> transactionScope;
- Persistent<IDBTransaction> transaction = IDBTransaction::create(executionContext(), transactionId, transactionScope, blink::WebIDBTransactionModeReadOnly, db.get());
+ Persistent<IDBTransaction> transaction = IDBTransaction::create(executionContext(), transactionId, transactionScope, WebIDBTransactionModeReadOnly, db.get());
PersistentHeapHashSet<WeakMember<IDBTransaction> > set;
set.add(transaction);
@@ -130,7 +127,7 @@ TEST_F(IDBTransactionTest, TransactionFinish)
const int64_t transactionId = 1234;
const Vector<String> transactionScope;
- Persistent<IDBTransaction> transaction = IDBTransaction::create(executionContext(), transactionId, transactionScope, blink::WebIDBTransactionModeReadOnly, db.get());
+ Persistent<IDBTransaction> transaction = IDBTransaction::create(executionContext(), transactionId, transactionScope, WebIDBTransactionModeReadOnly, db.get());
PersistentHeapHashSet<WeakMember<IDBTransaction> > set;
set.add(transaction);
@@ -160,3 +157,4 @@ TEST_F(IDBTransactionTest, TransactionFinish)
}
} // namespace
+} // namespace blink
« no previous file with comments | « Source/modules/indexeddb/IDBRequestTest.cpp ('k') | Source/modules/serviceworkers/ServiceWorkerContainerTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698