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

Unified Diff: content/shell/renderer/test_runner/web_test_proxy.cc

Issue 784873004: Push API: delete MockWebPushClient [switchover 2/6] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 6 years 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/web_test_proxy.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/web_test_proxy.cc
diff --git a/content/shell/renderer/test_runner/web_test_proxy.cc b/content/shell/renderer/test_runner/web_test_proxy.cc
index e39fd86a9ab04881f15814b467e35f6bdf64ddd5..f41779c0268dc0078512a5b96bfc78447a17e253 100644
--- a/content/shell/renderer/test_runner/web_test_proxy.cc
+++ b/content/shell/renderer/test_runner/web_test_proxy.cc
@@ -19,7 +19,6 @@
#include "content/shell/renderer/test_runner/mock_color_chooser.h"
#include "content/shell/renderer/test_runner/mock_credential_manager_client.h"
#include "content/shell/renderer/test_runner/mock_screen_orientation_client.h"
-#include "content/shell/renderer/test_runner/mock_web_push_client.h"
#include "content/shell/renderer/test_runner/mock_web_speech_recognizer.h"
#include "content/shell/renderer/test_runner/mock_web_user_media_client.h"
#include "content/shell/renderer/test_runner/spell_check_client.h"
@@ -1330,14 +1329,4 @@ blink::WebString WebTestProxyBase::acceptLanguages() {
return blink::WebString::fromUTF8(accept_languages_);
}
-MockWebPushClient* WebTestProxyBase::GetPushClientMock() {
- if (!push_client_.get())
- push_client_.reset(new MockWebPushClient);
- return push_client_.get();
-}
-
-blink::WebPushClient* WebTestProxyBase::GetWebPushClient() {
- return GetPushClientMock();
-}
-
} // namespace content
« no previous file with comments | « content/shell/renderer/test_runner/web_test_proxy.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698