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

Side by Side Diff: chrome/browser/ui/search/instant_extended_interactive_uitest.cc

Issue 468233004: Cleanup: Another round of removing unneeded grit #includes in chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix mac, undo ui_localizer.mm 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 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 <sstream> 5 #include <sstream>
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/metrics/histogram_base.h" 8 #include "base/metrics/histogram_base.h"
9 #include "base/metrics/histogram_samples.h" 9 #include "base/metrics/histogram_samples.h"
10 #include "base/metrics/statistics_recorder.h" 10 #include "base/metrics/statistics_recorder.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 #include "content/public/browser/navigation_entry.h" 64 #include "content/public/browser/navigation_entry.h"
65 #include "content/public/browser/notification_service.h" 65 #include "content/public/browser/notification_service.h"
66 #include "content/public/browser/render_process_host.h" 66 #include "content/public/browser/render_process_host.h"
67 #include "content/public/browser/render_view_host.h" 67 #include "content/public/browser/render_view_host.h"
68 #include "content/public/browser/site_instance.h" 68 #include "content/public/browser/site_instance.h"
69 #include "content/public/browser/url_data_source.h" 69 #include "content/public/browser/url_data_source.h"
70 #include "content/public/browser/web_contents.h" 70 #include "content/public/browser/web_contents.h"
71 #include "content/public/common/bindings_policy.h" 71 #include "content/public/common/bindings_policy.h"
72 #include "content/public/test/browser_test_utils.h" 72 #include "content/public/test/browser_test_utils.h"
73 #include "content/public/test/test_utils.h" 73 #include "content/public/test/test_utils.h"
74 #include "grit/generated_resources.h"
75 #include "net/base/network_change_notifier.h" 74 #include "net/base/network_change_notifier.h"
76 #include "net/http/http_status_code.h" 75 #include "net/http/http_status_code.h"
77 #include "net/url_request/test_url_fetcher_factory.h" 76 #include "net/url_request/test_url_fetcher_factory.h"
78 #include "net/url_request/url_fetcher_impl.h" 77 #include "net/url_request/url_fetcher_impl.h"
79 #include "net/url_request/url_request_status.h" 78 #include "net/url_request/url_request_status.h"
80 #include "testing/gmock/include/gmock/gmock.h" 79 #include "testing/gmock/include/gmock/gmock.h"
81 #include "third_party/skia/include/core/SkBitmap.h" 80 #include "third_party/skia/include/core/SkBitmap.h"
82 81
83 using base::ASCIIToUTF16; 82 using base::ASCIIToUTF16;
84 using testing::HasSubstr; 83 using testing::HasSubstr;
(...skipping 891 matching lines...) Expand 10 before | Expand all | Expand 10 after
976 stream << "link.href = \"" << result_url.spec() << "\";"; 975 stream << "link.href = \"" << result_url.spec() << "\";";
977 stream << "document.body.appendChild(link);"; 976 stream << "document.body.appendChild(link);";
978 stream << "link.click();"; 977 stream << "link.click();";
979 EXPECT_TRUE(content::ExecuteScript(contents, stream.str())); 978 EXPECT_TRUE(content::ExecuteScript(contents, stream.str()));
980 979
981 content::WaitForLoadStop(contents); 980 content::WaitForLoadStop(contents);
982 std::string expected_title = 981 std::string expected_title =
983 "Referrer is " + instant_url().GetWithEmptyPath().spec(); 982 "Referrer is " + instant_url().GetWithEmptyPath().spec();
984 EXPECT_EQ(ASCIIToUTF16(expected_title), contents->GetTitle()); 983 EXPECT_EQ(ASCIIToUTF16(expected_title), contents->GetTitle());
985 } 984 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/profile_error_dialog.cc ('k') | chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698