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

Side by Side Diff: chrome/browser/prerender/prerender_browsertest.cc

Issue 469993006: Use a qualified path for chromium_strings, google_chrome_strings, and generated_resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <deque> 5 #include <deque>
6 #include <vector> 6 #include <vector>
7 7
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 #include "chrome/browser/ui/omnibox/omnibox_edit_model.h" 55 #include "chrome/browser/ui/omnibox/omnibox_edit_model.h"
56 #include "chrome/browser/ui/omnibox/omnibox_popup_model.h" 56 #include "chrome/browser/ui/omnibox/omnibox_popup_model.h"
57 #include "chrome/browser/ui/omnibox/omnibox_view.h" 57 #include "chrome/browser/ui/omnibox/omnibox_view.h"
58 #include "chrome/browser/ui/tabs/tab_strip_model.h" 58 #include "chrome/browser/ui/tabs/tab_strip_model.h"
59 #include "chrome/browser/ui/tabs/tab_strip_model_observer.h" 59 #include "chrome/browser/ui/tabs/tab_strip_model_observer.h"
60 #include "chrome/common/chrome_paths.h" 60 #include "chrome/common/chrome_paths.h"
61 #include "chrome/common/chrome_switches.h" 61 #include "chrome/common/chrome_switches.h"
62 #include "chrome/common/extensions/extension_constants.h" 62 #include "chrome/common/extensions/extension_constants.h"
63 #include "chrome/common/extensions/manifest_handlers/mime_types_handler.h" 63 #include "chrome/common/extensions/manifest_handlers/mime_types_handler.h"
64 #include "chrome/common/pref_names.h" 64 #include "chrome/common/pref_names.h"
65 #include "chrome/grit/generated_resources.h"
65 #include "chrome/test/base/in_process_browser_test.h" 66 #include "chrome/test/base/in_process_browser_test.h"
66 #include "chrome/test/base/test_switches.h" 67 #include "chrome/test/base/test_switches.h"
67 #include "chrome/test/base/ui_test_utils.h" 68 #include "chrome/test/base/ui_test_utils.h"
68 #include "content/public/browser/browser_message_filter.h" 69 #include "content/public/browser/browser_message_filter.h"
69 #include "content/public/browser/devtools_agent_host.h" 70 #include "content/public/browser/devtools_agent_host.h"
70 #include "content/public/browser/navigation_controller.h" 71 #include "content/public/browser/navigation_controller.h"
71 #include "content/public/browser/navigation_entry.h" 72 #include "content/public/browser/navigation_entry.h"
72 #include "content/public/browser/notification_service.h" 73 #include "content/public/browser/notification_service.h"
73 #include "content/public/browser/render_frame_host.h" 74 #include "content/public/browser/render_frame_host.h"
74 #include "content/public/browser/render_process_host.h" 75 #include "content/public/browser/render_process_host.h"
75 #include "content/public/browser/render_view_host.h" 76 #include "content/public/browser/render_view_host.h"
76 #include "content/public/browser/site_instance.h" 77 #include "content/public/browser/site_instance.h"
77 #include "content/public/browser/web_contents.h" 78 #include "content/public/browser/web_contents.h"
78 #include "content/public/browser/web_contents_observer.h" 79 #include "content/public/browser/web_contents_observer.h"
79 #include "content/public/common/url_constants.h" 80 #include "content/public/common/url_constants.h"
80 #include "content/public/test/browser_test_utils.h" 81 #include "content/public/test/browser_test_utils.h"
81 #include "content/public/test/test_navigation_observer.h" 82 #include "content/public/test/test_navigation_observer.h"
82 #include "content/public/test/test_utils.h" 83 #include "content/public/test/test_utils.h"
83 #include "content/test/net/url_request_mock_http_job.h" 84 #include "content/test/net/url_request_mock_http_job.h"
84 #include "extensions/common/switches.h" 85 #include "extensions/common/switches.h"
85 #include "grit/generated_resources.h"
86 #include "net/base/escape.h" 86 #include "net/base/escape.h"
87 #include "net/cert/x509_certificate.h" 87 #include "net/cert/x509_certificate.h"
88 #include "net/dns/mock_host_resolver.h" 88 #include "net/dns/mock_host_resolver.h"
89 #include "net/ssl/client_cert_store.h" 89 #include "net/ssl/client_cert_store.h"
90 #include "net/ssl/ssl_cert_request_info.h" 90 #include "net/ssl/ssl_cert_request_info.h"
91 #include "net/url_request/url_request_context.h" 91 #include "net/url_request/url_request_context.h"
92 #include "net/url_request/url_request_context_getter.h" 92 #include "net/url_request/url_request_context_getter.h"
93 #include "net/url_request/url_request_filter.h" 93 #include "net/url_request/url_request_filter.h"
94 #include "net/url_request/url_request_interceptor.h" 94 #include "net/url_request/url_request_interceptor.h"
95 #include "net/url_request/url_request_job.h" 95 #include "net/url_request/url_request_job.h"
(...skipping 4320 matching lines...) Expand 10 before | Expand all | Expand 10 after
4416 4416
4417 // Navigate to the URL entered. 4417 // Navigate to the URL entered.
4418 omnibox_view->model()->AcceptInput(CURRENT_TAB, false); 4418 omnibox_view->model()->AcceptInput(CURRENT_TAB, false);
4419 4419
4420 // Prerender should be running, but abandoned. 4420 // Prerender should be running, but abandoned.
4421 EXPECT_TRUE( 4421 EXPECT_TRUE(
4422 GetAutocompleteActionPredictor()->IsPrerenderAbandonedForTesting()); 4422 GetAutocompleteActionPredictor()->IsPrerenderAbandonedForTesting());
4423 } 4423 }
4424 4424
4425 } // namespace prerender 4425 } // namespace prerender
OLDNEW
« no previous file with comments | « chrome/browser/prefs/chrome_pref_service_factory.cc ('k') | chrome/browser/printing/print_error_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698