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

Side by Side Diff: blimp/engine/app/blimp_content_browser_client.h

Issue 2572563006: [Blimp] Refactor Blimp test engine with embedded test server and URL rewriting (Closed)
Patch Set: John comment 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
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2015 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 BLIMP_ENGINE_APP_BLIMP_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef BLIMP_ENGINE_APP_BLIMP_CONTENT_BROWSER_CLIENT_H_
6 #define BLIMP_ENGINE_APP_BLIMP_CONTENT_BROWSER_CLIENT_H_ 6 #define BLIMP_ENGINE_APP_BLIMP_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "content/public/browser/content_browser_client.h" 9 #include "content/public/browser/content_browser_client.h"
10 10
(...skipping 16 matching lines...) Expand all
27 content::BrowserMainParts* CreateBrowserMainParts( 27 content::BrowserMainParts* CreateBrowserMainParts(
28 const content::MainFunctionParams& parameters) override; 28 const content::MainFunctionParams& parameters) override;
29 void OverrideWebkitPrefs(content::RenderViewHost* render_view_host, 29 void OverrideWebkitPrefs(content::RenderViewHost* render_view_host,
30 content::WebPreferences* prefs) override; 30 content::WebPreferences* prefs) override;
31 void ExposeInterfacesToRenderer( 31 void ExposeInterfacesToRenderer(
32 service_manager::InterfaceRegistry* registry, 32 service_manager::InterfaceRegistry* registry,
33 content::RenderProcessHost* render_process_host) override; 33 content::RenderProcessHost* render_process_host) override;
34 std::unique_ptr<base::Value> GetServiceManifestOverlay( 34 std::unique_ptr<base::Value> GetServiceManifestOverlay(
35 base::StringPiece name) override; 35 base::StringPiece name) override;
36 36
37 BlimpBrowserContext* GetBrowserContext(); 37 BlimpBrowserContext* GetBrowserContext();
Kevin M 2017/01/09 20:17:17 Move non-overrides above overrides.
shenghuazhang 2017/01/10 23:20:49 Done.
38 38
39 void SetBrowserMainPartsForTesting(
Kevin M 2017/01/09 20:17:16 Should be protected?
shenghuazhang 2017/01/10 23:20:49 Done.
40 BlimpBrowserMainParts* blimp_browser_main_parts);
41
39 private: 42 private:
40 // Owned by BrowserMainLoop 43 // Owned by BrowserMainLoop
41 BlimpBrowserMainParts* blimp_browser_main_parts_ = nullptr; 44 BlimpBrowserMainParts* blimp_browser_main_parts_ = nullptr;
42 45
43 DISALLOW_COPY_AND_ASSIGN(BlimpContentBrowserClient); 46 DISALLOW_COPY_AND_ASSIGN(BlimpContentBrowserClient);
44 }; 47 };
45 48
46 } // namespace engine 49 } // namespace engine
47 } // namespace blimp 50 } // namespace blimp
48 51
49 #endif // BLIMP_ENGINE_APP_BLIMP_CONTENT_BROWSER_CLIENT_H_ 52 #endif // BLIMP_ENGINE_APP_BLIMP_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698