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

Unified Diff: Source/platform/TestingPlatformSupport.h

Issue 467193002: Cleanup namespace usage in Source/core/platform/[A-Z]*.h (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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/platform/Task.h ('k') | Source/platform/TraceLocation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/TestingPlatformSupport.h
diff --git a/Source/platform/TestingPlatformSupport.h b/Source/platform/TestingPlatformSupport.h
index f51658071b81a6ba288822a74ad644d57c42de93..6ad7e7a64faec41dbd5fe6615c16bb95e9d0d596 100644
--- a/Source/platform/TestingPlatformSupport.h
+++ b/Source/platform/TestingPlatformSupport.h
@@ -37,12 +37,12 @@
namespace blink {
-class TestingDiscardableMemory : public blink::WebDiscardableMemory {
+class TestingDiscardableMemory : public WebDiscardableMemory {
public:
explicit TestingDiscardableMemory(size_t);
virtual ~TestingDiscardableMemory();
- // blink::WebDiscardableMemory:
+ // WebDiscardableMemory:
virtual bool lock() OVERRIDE;
virtual void* data() OVERRIDE;
virtual void unlock() OVERRIDE;
@@ -52,7 +52,7 @@ private:
bool m_isLocked;
};
-class TestingPlatformSupport : public blink::Platform {
+class TestingPlatformSupport : public Platform {
public:
struct Config {
Config() : hasDiscardableMemorySupport(false) { }
@@ -64,14 +64,14 @@ public:
virtual ~TestingPlatformSupport();
- // blink::Platform:
- virtual blink::WebDiscardableMemory* allocateAndLockDiscardableMemory(size_t bytes) OVERRIDE;
+ // Platform:
+ virtual WebDiscardableMemory* allocateAndLockDiscardableMemory(size_t bytes) OVERRIDE;
virtual void cryptographicallyRandomValues(unsigned char* buffer, size_t length) OVERRIDE;
virtual const unsigned char* getTraceCategoryEnabledFlag(const char* categoryName) OVERRIDE;
private:
const Config m_config;
- blink::Platform* const m_oldPlatform;
+ Platform* const m_oldPlatform;
};
} // namespace blink
« no previous file with comments | « Source/platform/Task.h ('k') | Source/platform/TraceLocation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698