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

Unified Diff: content/shell/renderer/test_runner/WebTestProxy.cpp

Issue 144023010: Remove unused geolocation code from TestRunner and WebTestProxy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 11 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/shell/renderer/test_runner/WebTestProxy.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/test_runner/WebTestProxy.cpp
diff --git a/content/shell/renderer/test_runner/WebTestProxy.cpp b/content/shell/renderer/test_runner/WebTestProxy.cpp
index c47bf03238a76ee0964bd99c82f6bd241748db2d..ca849bc8eb0cce6363fffa584abf1e55b2fb937e 100644
--- a/content/shell/renderer/test_runner/WebTestProxy.cpp
+++ b/content/shell/renderer/test_runner/WebTestProxy.cpp
@@ -34,7 +34,6 @@
#include "third_party/WebKit/public/web/WebDocument.h"
#include "third_party/WebKit/public/web/WebElement.h"
#include "third_party/WebKit/public/web/WebFrame.h"
-#include "third_party/WebKit/public/web/WebGeolocationClientMock.h"
#include "third_party/WebKit/public/web/WebHistoryItem.h"
#include "third_party/WebKit/public/web/WebMIDIClientMock.h"
#include "third_party/WebKit/public/web/WebNode.h"
@@ -426,8 +425,6 @@ void WebTestProxyBase::reset()
m_animateScheduled = false;
m_resourceIdentifierMap.clear();
m_logConsoleOutput = true;
- if (m_geolocationClient.get())
- m_geolocationClient->resetMock();
if (m_midiClient.get())
m_midiClient->resetMock();
#if ENABLE_INPUT_SPEECH
@@ -666,13 +663,6 @@ void WebTestProxyBase::discardBackingStore()
m_canvas.reset();
}
-WebGeolocationClientMock* WebTestProxyBase::geolocationClientMock()
-{
- if (!m_geolocationClient.get())
- m_geolocationClient.reset(WebGeolocationClientMock::create());
- return m_geolocationClient.get();
-}
-
WebMIDIClientMock* WebTestProxyBase::midiClientMock()
{
if (!m_midiClient.get())
@@ -951,11 +941,6 @@ WebNotificationPresenter* WebTestProxyBase::notificationPresenter()
return m_testInterfaces->testRunner()->notificationPresenter();
}
-WebGeolocationClient* WebTestProxyBase::geolocationClient()
-{
- return geolocationClientMock();
-}
-
WebMIDIClient* WebTestProxyBase::webMIDIClient()
{
return midiClientMock();
« no previous file with comments | « content/shell/renderer/test_runner/WebTestProxy.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698