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

Side by Side Diff: chrome/browser/tab_contents/render_view_host_manager_unittest.cc

Issue 3129007: FBTF: Forward declare everything possible in testing_profile.h (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: argh mac problems now Created 10 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/browser/browser_url_handler.h" 5 #include "chrome/browser/browser_url_handler.h"
6 #include "chrome/browser/chrome_thread.h"
6 #include "chrome/browser/renderer_host/test/test_render_view_host.h" 7 #include "chrome/browser/renderer_host/test/test_render_view_host.h"
7 #include "chrome/browser/tab_contents/navigation_controller.h" 8 #include "chrome/browser/tab_contents/navigation_controller.h"
8 #include "chrome/browser/tab_contents/navigation_entry.h" 9 #include "chrome/browser/tab_contents/navigation_entry.h"
9 #include "chrome/browser/tab_contents/render_view_host_manager.h" 10 #include "chrome/browser/tab_contents/render_view_host_manager.h"
10 #include "chrome/common/render_messages.h" 11 #include "chrome/common/render_messages.h"
11 #include "chrome/common/url_constants.h" 12 #include "chrome/common/url_constants.h"
12 #include "chrome/test/test_notification_tracker.h" 13 #include "chrome/test/test_notification_tracker.h"
13 #include "ipc/ipc_message.h" 14 #include "ipc/ipc_message.h"
14 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
15 16
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 // Rewrite so it looks like chrome://about/memory 285 // Rewrite so it looks like chrome://about/memory
285 bool reverse_on_redirect = false; 286 bool reverse_on_redirect = false;
286 BrowserURLHandler::RewriteURLIfNecessary( 287 BrowserURLHandler::RewriteURLIfNecessary(
287 &about_url, profile_.get(), &reverse_on_redirect); 288 &about_url, profile_.get(), &reverse_on_redirect);
288 NavigationEntry about_entry(NULL /* instance */, -1 /* page_id */, about_url, 289 NavigationEntry about_entry(NULL /* instance */, -1 /* page_id */, about_url,
289 GURL() /* referrer */, string16() /* title */, 290 GURL() /* referrer */, string16() /* title */,
290 PageTransition::TYPED); 291 PageTransition::TYPED);
291 292
292 EXPECT_TRUE(ShouldSwapProcesses(&manager, &ntp_entry, &about_entry)); 293 EXPECT_TRUE(ShouldSwapProcesses(&manager, &ntp_entry, &about_entry));
293 } 294 }
OLDNEW
« no previous file with comments | « chrome/browser/sync/profile_sync_service_unittest.cc ('k') | chrome/browser/tab_contents/web_contents_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698