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

Unified Diff: content/shell/renderer/test_runner/app_banner_client.h

Issue 1167703002: Move test runner to a component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 5 years, 7 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
Index: content/shell/renderer/test_runner/app_banner_client.h
diff --git a/content/shell/renderer/test_runner/app_banner_client.h b/content/shell/renderer/test_runner/app_banner_client.h
deleted file mode 100644
index 55271da57fc2bb3b11f4c725a29a61305fb81d2c..0000000000000000000000000000000000000000
--- a/content/shell/renderer/test_runner/app_banner_client.h
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_APP_BANNER_CLIENT_H_
-#define CONTENT_SHELL_RENDERER_TEST_RUNNER_APP_BANNER_CLIENT_H_
-
-#include "base/id_map.h"
-#include "third_party/WebKit/public/platform/modules/app_banner/WebAppBannerClient.h"
-
-namespace content {
-
-// Test app banner client that holds on to callbacks and allows the test runner
-// to resolve them.
-class AppBannerClient : public blink::WebAppBannerClient {
- public:
- AppBannerClient();
- virtual ~AppBannerClient();
-
- // blink::WebAppBannerClient:
- void registerBannerCallbacks(
- int requestId,
- blink::WebAppBannerCallbacks* callbacks) override;
-
- void ResolvePromise(int request_id, const std::string& platform);
-
- private:
- IDMap<blink::WebAppBannerCallbacks, IDMapOwnPointer> callbacks_map_;
-
- DISALLOW_COPY_AND_ASSIGN(AppBannerClient);
-};
-
-} // namespace content
-
-#endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_APP_BANNER_CLIENT_H_

Powered by Google App Engine
This is Rietveld 408576698