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

Side by Side Diff: content/shell/test_runner/app_banner_service.h

Issue 2707183003: Move //components/test_runner back into //content/shell (Closed)
Patch Set: Trim DEPS Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_TEST_RUNNER_APP_BANNER_SERVICE_H_ 5 #ifndef CONTENT_SHELL_TEST_RUNNER_APP_BANNER_SERVICE_H_
6 #define COMPONENTS_TEST_RUNNER_APP_BANNER_SERVICE_H_ 6 #define CONTENT_SHELL_TEST_RUNNER_APP_BANNER_SERVICE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/callback_forward.h" 11 #include "base/callback_forward.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "components/test_runner/test_runner_export.h" 13 #include "content/shell/test_runner/test_runner_export.h"
14 #include "mojo/public/cpp/bindings/binding.h" 14 #include "mojo/public/cpp/bindings/binding.h"
15 #include "third_party/WebKit/public/platform/modules/app_banner/app_banner.mojom .h" 15 #include "third_party/WebKit/public/platform/modules/app_banner/app_banner.mojom .h"
16 16
17 namespace test_runner { 17 namespace test_runner {
18 18
19 // Test app banner service that is registered as a Mojo service for 19 // Test app banner service that is registered as a Mojo service for
20 // BeforeInstallPromptEvents to look up when the test runner is executed. 20 // BeforeInstallPromptEvents to look up when the test runner is executed.
21 class TEST_RUNNER_EXPORT AppBannerService 21 class TEST_RUNNER_EXPORT AppBannerService
22 : public NON_EXPORTED_BASE(blink::mojom::AppBannerService) { 22 : public NON_EXPORTED_BASE(blink::mojom::AppBannerService) {
23 public: 23 public:
(...skipping 15 matching lines...) Expand all
39 39
40 mojo::Binding<blink::mojom::AppBannerService> binding_; 40 mojo::Binding<blink::mojom::AppBannerService> binding_;
41 blink::mojom::AppBannerEventPtr event_; 41 blink::mojom::AppBannerEventPtr event_;
42 blink::mojom::AppBannerControllerPtr controller_; 42 blink::mojom::AppBannerControllerPtr controller_;
43 43
44 DISALLOW_COPY_AND_ASSIGN(AppBannerService); 44 DISALLOW_COPY_AND_ASSIGN(AppBannerService);
45 }; 45 };
46 46
47 } // namespace test_runner 47 } // namespace test_runner
48 48
49 #endif // COMPONENTS_TEST_RUNNER_APP_BANNER_SERVICE_H_ 49 #endif // CONTENT_SHELL_TEST_RUNNER_APP_BANNER_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698