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

Side by Side Diff: content/browser/web_contents/test_web_contents.cc

Issue 10024066: TabContents -> WebContentsImpl, part 4. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 8 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 "content/browser/tab_contents/test_web_contents.h" 5 #include "content/browser/web_contents/test_web_contents.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "content/browser/browser_url_handler_impl.h" 9 #include "content/browser/browser_url_handler_impl.h"
10 #include "content/browser/renderer_host/render_view_host_impl.h" 10 #include "content/browser/renderer_host/render_view_host_impl.h"
11 #include "content/browser/renderer_host/test_render_view_host.h" 11 #include "content/browser/renderer_host/test_render_view_host.h"
12 #include "content/browser/site_instance_impl.h" 12 #include "content/browser/site_instance_impl.h"
13 #include "content/browser/web_contents/navigation_entry_impl.h" 13 #include "content/browser/web_contents/navigation_entry_impl.h"
14 #include "content/common/view_messages.h" 14 #include "content/common/view_messages.h"
15 #include "content/public/common/page_transition_types.h" 15 #include "content/public/common/page_transition_types.h"
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 int32 min_page_id) { 172 int32 min_page_id) {
173 EXPECT_TRUE(expect_set_history_length_and_prune_); 173 EXPECT_TRUE(expect_set_history_length_and_prune_);
174 expect_set_history_length_and_prune_ = false; 174 expect_set_history_length_and_prune_ = false;
175 EXPECT_EQ(expect_set_history_length_and_prune_site_instance_, site_instance); 175 EXPECT_EQ(expect_set_history_length_and_prune_site_instance_, site_instance);
176 EXPECT_EQ(expect_set_history_length_and_prune_history_length_, 176 EXPECT_EQ(expect_set_history_length_and_prune_history_length_,
177 history_length); 177 history_length);
178 EXPECT_EQ(expect_set_history_length_and_prune_min_page_id_, min_page_id); 178 EXPECT_EQ(expect_set_history_length_and_prune_min_page_id_, min_page_id);
179 } 179 }
180 180
181 } // namespace content 181 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/web_contents/test_web_contents.h ('k') | content/browser/web_contents/web_contents_delegate_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698