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

Side by Side Diff: chrome/browser/apps/app_url_redirector_browsertest.cc

Issue 2533123002: Fix GN missing headers in //base (Closed)
Patch Set: remove dependency on check_gn_headers 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "base/strings/stringprintf.h" 5 #include "base/strings/stringprintf.h"
6 #include "base/strings/utf_string_conversions.h" 6 #include "base/strings/utf_string_conversions.h"
7 #include "base/win/windows_version.h"
8 #include "build/build_config.h" 7 #include "build/build_config.h"
9 #include "chrome/browser/apps/app_browsertest_util.h" 8 #include "chrome/browser/apps/app_browsertest_util.h"
10 #include "chrome/browser/chrome_notification_types.h" 9 #include "chrome/browser/chrome_notification_types.h"
11 #include "chrome/browser/prerender/prerender_manager.h" 10 #include "chrome/browser/prerender/prerender_manager.h"
12 #include "chrome/browser/ui/browser_navigator_params.h" 11 #include "chrome/browser/ui/browser_navigator_params.h"
13 #include "chrome/browser/ui/tabs/tab_strip_model.h" 12 #include "chrome/browser/ui/tabs/tab_strip_model.h"
14 #include "chrome/common/chrome_switches.h" 13 #include "chrome/common/chrome_switches.h"
15 #include "chrome/test/base/ui_test_utils.h" 14 #include "chrome/test/base/ui_test_utils.h"
16 #include "content/public/test/browser_test_base.h" 15 #include "content/public/test/browser_test_base.h"
17 #include "content/public/test/browser_test_utils.h" 16 #include "content/public/test/browser_test_utils.h"
18 #include "extensions/test/extension_test_message_listener.h" 17 #include "extensions/test/extension_test_message_listener.h"
19 #include "net/test/embedded_test_server/embedded_test_server.h" 18 #include "net/test/embedded_test_server/embedded_test_server.h"
20 #include "ui/base/page_transition_types.h" 19 #include "ui/base/page_transition_types.h"
21 20
21 #if defined(OS_WIN)
22 #include "base/win/windows_version.h"
23 #endif
24
22 namespace extensions { 25 namespace extensions {
23 26
24 class PlatformAppUrlRedirectorBrowserTest : public PlatformAppBrowserTest { 27 class PlatformAppUrlRedirectorBrowserTest : public PlatformAppBrowserTest {
25 public: 28 public:
26 void SetUpCommandLine(base::CommandLine* command_line) override; 29 void SetUpCommandLine(base::CommandLine* command_line) override;
27 void SetUpOnMainThread() override; 30 void SetUpOnMainThread() override;
28 31
29 protected: 32 protected:
30 // Performs the following sequence: 33 // Performs the following sequence:
31 // - installs the app |handler| (a relative path under the platform_apps 34 // - installs the app |handler| (a relative path under the platform_apps
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
507 #if defined (OS_WIN) 510 #if defined (OS_WIN)
508 if (base::win::GetVersion() < base::win::VERSION_VISTA) return; // Bug 301638 511 if (base::win::GetVersion() < base::win::VERSION_VISTA) return; // Bug 301638
509 #endif 512 #endif
510 TestNavigationInTab( 513 TestNavigationInTab(
511 "url_handlers/launching_pages/prerender_link.html", 514 "url_handlers/launching_pages/prerender_link.html",
512 "url_handlers/handlers/simple", 515 "url_handlers/handlers/simple",
513 "Handler launched"); 516 "Handler launched");
514 } 517 }
515 518
516 } // namespace extensions 519 } // namespace extensions
OLDNEW
« no previous file with comments | « base/third_party/libevent/BUILD.gn ('k') | chrome/browser/component_updater/pnacl_component_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698