Chromium Code Reviews| Index: blimp/engine/testing/app/blimp_url_rewriter.h |
| diff --git a/blimp/engine/testing/app/blimp_url_rewriter.h b/blimp/engine/testing/app/blimp_url_rewriter.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..cbbf6e7cc45fbcbf414c06dc8d8e62ade072d187 |
| --- /dev/null |
| +++ b/blimp/engine/testing/app/blimp_url_rewriter.h |
| @@ -0,0 +1,30 @@ |
| +// Copyright (c) 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef BLIMP_ENGINE_TESTING_APP_BLIMP_URL_REWRITER_H_ |
| +#define BLIMP_ENGINE_TESTING_APP_BLIMP_URL_REWRITER_H_ |
| + |
| +#include <string> |
|
Kevin M
2017/01/09 20:17:18
Not used?
shenghuazhang
2017/01/10 23:20:50
Done.
|
| + |
| +#include "net/test/embedded_test_server/embedded_test_server.h" |
| + |
| +class GURL; |
| + |
| +namespace content { |
| +class BrowserContext; |
| +} |
| + |
| +namespace blimp { |
| +namespace engine { |
| + |
| +namespace test { |
| + |
| +extern std::unique_ptr<net::EmbeddedTestServer> g_ets_instance; |
| + |
| +bool HandleBlimpTestURL(GURL* url, content::BrowserContext* browser_context); |
|
Kevin M
2017/01/09 20:17:18
Add function comment.
shenghuazhang
2017/01/10 23:20:50
Done.
|
| +} // namespace test |
|
Kevin M
2017/01/09 20:17:18
nit: add whitespace before closing curly brace
shenghuazhang
2017/01/10 23:20:50
Done.
|
| + |
| +} // namespace engine |
| +} // namespace blimp |
| +#endif // BLIMP_ENGINE_TESTING_APP_BLIMP_URL_REWRITER_H_ |