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

Unified Diff: content/child/blink_platform_unittest.cc

Issue 185553014: Revert "Revert 254514 "Revert 254507 "Reland "Move WebKitPlatformSupport..."" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 | « content/child/blink_platform_impl.cc ('k') | content/child/database_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/blink_platform_unittest.cc
diff --git a/content/child/blink_platform_unittest.cc b/content/child/blink_platform_unittest.cc
index c045b302a53a3f9f93754de637ac0b5699267e75..acd049c55d43a3a46f702c98e78a5664ec7b8939 100644
--- a/content/child/blink_platform_unittest.cc
+++ b/content/child/blink_platform_unittest.cc
@@ -4,17 +4,17 @@
#include "base/run_loop.h"
#include "base/time/time.h"
-#include "content/child/blink_platform_impl.h"
#include "testing/gtest/include/gtest/gtest.h"
+#include "webkit/child/webkitplatformsupport_impl.h"
namespace content {
-// Derives BlinkPlatformImpl for testing shared timers.
-class TestBlinkPlatformImpl : public BlinkPlatformImpl {
+// Derives WebKitPlatformSupportImpl for testing shared timers.
+class TestBlinkPlatformImpl : public webkit_glue::WebKitPlatformSupportImpl {
public:
TestBlinkPlatformImpl() : mock_monotonically_increasing_time_(0) {}
- // webkit_glue::BlinkPlatformImpl:
+ // webkit_glue::WebKitPlatformSupportImpl:
virtual base::string16 GetLocalizedString(int) OVERRIDE {
return base::string16();
}
@@ -28,9 +28,9 @@ class TestBlinkPlatformImpl : public BlinkPlatformImpl {
return NULL;
}
- virtual WebSocketStreamHandleBridge* CreateWebSocketStreamBridge(
+ virtual webkit_glue::WebSocketStreamHandleBridge* CreateWebSocketStreamBridge(
blink::WebSocketStreamHandle*,
- WebSocketStreamHandleDelegate*) OVERRIDE {
+ webkit_glue::WebSocketStreamHandleDelegate*) OVERRIDE {
return NULL;
}
@@ -38,7 +38,8 @@ class TestBlinkPlatformImpl : public BlinkPlatformImpl {
virtual double monotonicallyIncreasingTime() OVERRIDE {
if (mock_monotonically_increasing_time_ > 0.0)
return mock_monotonically_increasing_time_;
- return BlinkPlatformImpl::monotonicallyIncreasingTime();
+ return webkit_glue::WebKitPlatformSupportImpl::
+ monotonicallyIncreasingTime();
}
virtual void OnStartSharedTimer(base::TimeDelta delay) OVERRIDE {
« no previous file with comments | « content/child/blink_platform_impl.cc ('k') | content/child/database_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698