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

Side by Side Diff: blimp/engine/testing/app/test_blimp_content_browser_client.h

Issue 2572563006: [Blimp] Refactor Blimp test engine with embedded test server and URL rewriting (Closed)
Patch Set: nit change Created 3 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 unified diff | Download patch
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef BLIMP_ENGINE_TESTING_APP_TEST_BLIMP_CONTENT_BROWSER_CLIENT_H_
6 #define BLIMP_ENGINE_TESTING_APP_TEST_BLIMP_CONTENT_BROWSER_CLIENT_H_
7
8 #include "blimp/engine/app/blimp_content_browser_client.h"
9
10 namespace blimp {
11 namespace engine {
12
13 class BlimpBrowserMainParts;
14
15 // Blimp testing implementation of ContentBrowserClient. Class to extend
16 // class BlimpContentBrowserClient for testing. I.e. This overrides method
17 // CreateBrowserMainParts(), replacing the use of BlimpBrowserMainParts
18 // by enabling TestBlimpBrowserMainParts.
19 class TestBlimpContentBrowserClient : public BlimpContentBrowserClient {
20 public:
21 TestBlimpContentBrowserClient();
22 ~TestBlimpContentBrowserClient() = default;
23
24 // BlimpContentBrowserClient implementation.
25 content::BrowserMainParts* CreateBrowserMainParts(
26 const content::MainFunctionParams& parameters) override;
27
28 private:
29 BlimpBrowserMainParts* blimp_browser_main_parts_ = nullptr;
30 };
31
32 } // namespace engine
33 } // namespace blimp
34
35 #endif // BLIMP_ENGINE_TESTING_APP_TEST_BLIMP_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698