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

Side by Side Diff: blimp/engine/testing/app/blimp_content_main_delegate_for_test.cc

Issue 2572563006: [Blimp] Refactor Blimp test engine with embedded test server and URL rewriting (Closed)
Patch Set: Created 4 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 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 #include <memory>
6
7 #include "blimp/engine/testing/app/blimp_content_browser_client_for_test.h"
8 #include "blimp/engine/testing/app/blimp_content_main_delegate_for_test.h"
9
10 namespace blimp {
11 namespace engine {
12
13 BlimpContentMainDelegateForTest::BlimpContentMainDelegateForTest() {}
14
15 content::ContentBrowserClient*
16 BlimpContentMainDelegateForTest::CreateContentBrowserClient() {
17 std::unique_ptr<BlimpContentBrowserClient> browser_client_for_test =
18 base::MakeUnique<BlimpContentBrowserClientForTest>();
19 content::ContentBrowserClient* client_ptr = browser_client_for_test.get();
20 BlimpContentMainDelegate::SetContentBrowserClientForTesting(
21 std::move(browser_client_for_test));
22 return client_ptr;
23 }
24
25 } // namespace engine
26 } // namespace blimp
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698