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

Side by Side Diff: blimp/engine/testing/app/blimp_url_rewriter.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 (c) 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_BLIMP_URL_REWRITER_H_
6 #define BLIMP_ENGINE_TESTING_APP_BLIMP_URL_REWRITER_H_
7
8 #include "net/test/embedded_test_server/embedded_test_server.h"
9
10 class GURL;
11
12 namespace content {
13 class BrowserContext;
14 }
15
16 namespace blimp {
17 namespace engine {
18
19 namespace test {
20
21 extern std::unique_ptr<net::EmbeddedTestServer> g_ets_instance;
22
23 // This handles rewriting URLs to be what the engine will actually load.
24 // It works together with EmbeddedTestServer to handle getting full url.
25 // Return false if the url is not able to be loaded, otherwise return
26 bool HandleBlimpTestURL(GURL* url, content::BrowserContext* browser_context);
27
28 } // namespace test
29
30 } // namespace engine
31 } // namespace blimp
32 #endif // BLIMP_ENGINE_TESTING_APP_BLIMP_URL_REWRITER_H_
OLDNEW
« no previous file with comments | « blimp/engine/app/blimp_content_main_delegate.cc ('k') | blimp/engine/testing/app/blimp_url_rewriter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698