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

Unified Diff: Source/core/fetch/MemoryCacheTest.cpp

Issue 1115553002: Removing blink::prefix (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 8 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/core/fetch/MemoryCache.cpp ('k') | Source/core/fetch/MockImageResourceClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fetch/MemoryCacheTest.cpp
diff --git a/Source/core/fetch/MemoryCacheTest.cpp b/Source/core/fetch/MemoryCacheTest.cpp
index 0f02eda161f8d0c126b37633d003be70d1ba8e3c..6d1fe832af78b276f1a7a133a0498cb19f902aa0 100644
--- a/Source/core/fetch/MemoryCacheTest.cpp
+++ b/Source/core/fetch/MemoryCacheTest.cpp
@@ -45,7 +45,7 @@ namespace blink {
class MemoryCacheTest : public ::testing::Test {
public:
- class FakeDecodedResource : public blink::Resource {
+ class FakeDecodedResource : public Resource {
public:
FakeDecodedResource(const ResourceRequest& request, Type type)
: Resource(request, type)
@@ -65,7 +65,7 @@ public:
}
};
- class FakeResource : public blink::Resource {
+ class FakeResource : public Resource {
public:
FakeResource(const ResourceRequest& request, Type type)
: Resource(request, type)
@@ -205,7 +205,7 @@ static void TestLiveResourceEvictionAtEndOfTask(Resource* cachedDeadResource, co
cachedLiveResource->addClient(&client);
cachedLiveResource->appendData(data, 4u);
- class Task1 : public blink::WebThread::Task {
+ class Task1 : public WebThread::Task {
public:
Task1(const ResourcePtr<Resource>& live, Resource* dead)
: m_live(live)
@@ -240,7 +240,7 @@ static void TestLiveResourceEvictionAtEndOfTask(Resource* cachedDeadResource, co
Resource* m_dead;
};
- class Task2 : public blink::WebThread::Task {
+ class Task2 : public WebThread::Task {
public:
Task2(unsigned liveSizeWithoutDecode)
: m_liveSizeWithoutDecode(liveSizeWithoutDecode) { }
@@ -257,8 +257,8 @@ static void TestLiveResourceEvictionAtEndOfTask(Resource* cachedDeadResource, co
};
- blink::Platform::current()->currentThread()->postTask(FROM_HERE, new Task1(cachedLiveResource, cachedDeadResource));
- blink::Platform::current()->currentThread()->postTask(FROM_HERE, new Task2(cachedLiveResource->encodedSize() + cachedLiveResource->overheadSize()));
+ Platform::current()->currentThread()->postTask(FROM_HERE, new Task1(cachedLiveResource, cachedDeadResource));
+ Platform::current()->currentThread()->postTask(FROM_HERE, new Task2(cachedLiveResource->encodedSize() + cachedLiveResource->overheadSize()));
testing::runPendingTasks();
cachedLiveResource->removeClient(&client);
}
« no previous file with comments | « Source/core/fetch/MemoryCache.cpp ('k') | Source/core/fetch/MockImageResourceClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698