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

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

Issue 10492009: Move test headers from content\test to content\public\test. This way we can enforce that internal c… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 6 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 "base/file_util.h" 5 #include "base/file_util.h"
6 #include "base/memory/scoped_ptr.h" 6 #include "base/memory/scoped_ptr.h"
7 #include "base/path_service.h" 7 #include "base/path_service.h"
8 #include "base/stl_util.h" 8 #include "base/stl_util.h"
9 #include "base/string_util.h" 9 #include "base/string_util.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
(...skipping 10 matching lines...) Expand all
21 #include "content/browser/web_contents/navigation_controller_impl.h" 21 #include "content/browser/web_contents/navigation_controller_impl.h"
22 #include "content/browser/web_contents/navigation_entry_impl.h" 22 #include "content/browser/web_contents/navigation_entry_impl.h"
23 #include "content/browser/web_contents/test_web_contents.h" 23 #include "content/browser/web_contents/test_web_contents.h"
24 #include "content/browser/web_contents/web_contents_impl.h" 24 #include "content/browser/web_contents/web_contents_impl.h"
25 #include "content/common/view_messages.h" 25 #include "content/common/view_messages.h"
26 #include "content/public/browser/navigation_details.h" 26 #include "content/public/browser/navigation_details.h"
27 #include "content/public/browser/notification_registrar.h" 27 #include "content/public/browser/notification_registrar.h"
28 #include "content/public/browser/notification_types.h" 28 #include "content/public/browser/notification_types.h"
29 #include "content/public/browser/web_contents_delegate.h" 29 #include "content/public/browser/web_contents_delegate.h"
30 #include "content/public/test/mock_render_process_host.h" 30 #include "content/public/test/mock_render_process_host.h"
31 #include "content/test/test_browser_context.h"
32 #include "content/test/test_notification_tracker.h" 31 #include "content/test/test_notification_tracker.h"
33 #include "net/base/net_util.h" 32 #include "net/base/net_util.h"
34 #include "testing/gtest/include/gtest/gtest.h" 33 #include "testing/gtest/include/gtest/gtest.h"
35 #include "webkit/glue/webkit_glue.h" 34 #include "webkit/glue/webkit_glue.h"
36 35
37 using base::Time; 36 using base::Time;
38 using content::NavigationController; 37 using content::NavigationController;
39 using content::NavigationEntry; 38 using content::NavigationEntry;
40 using content::NavigationEntryImpl; 39 using content::NavigationEntryImpl;
41 using content::RenderViewHostImplTestHarness; 40 using content::RenderViewHostImplTestHarness;
(...skipping 2577 matching lines...) Expand 10 before | Expand all | Expand 10 after
2619 TabNavigation nav(0, url0, GURL(), string16(), 2618 TabNavigation nav(0, url0, GURL(), string16(),
2620 webkit_glue::CreateHistoryStateForURL(url0), 2619 webkit_glue::CreateHistoryStateForURL(url0),
2621 content::PAGE_TRANSITION_LINK); 2620 content::PAGE_TRANSITION_LINK);
2622 session_helper_.AssertNavigationEquals(nav, 2621 session_helper_.AssertNavigationEquals(nav,
2623 windows_[0]->tabs[0]->navigations[0]); 2622 windows_[0]->tabs[0]->navigations[0]);
2624 nav.set_url(url2); 2623 nav.set_url(url2);
2625 session_helper_.AssertNavigationEquals(nav, 2624 session_helper_.AssertNavigationEquals(nav,
2626 windows_[0]->tabs[0]->navigations[1]); 2625 windows_[0]->tabs[0]->navigations[1]);
2627 } 2626 }
2628 */ 2627 */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698