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

Side by Side Diff: content/browser/renderer_host/render_view_host_manager_browsertest.cc

Issue 6693054: Get rid of extensions dependency from content\browser. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/ref_counted.h" 6 #include "base/memory/ref_counted.h"
7 #include "base/path_service.h" 7 #include "base/path_service.h"
8 #include "chrome/browser/download/download_manager.h" 8 #include "chrome/browser/download/download_manager.h"
9 #include "chrome/browser/extensions/extension_error_reporter.h"
10 #include "chrome/browser/profiles/profile.h" 9 #include "chrome/browser/profiles/profile.h"
11 #include "chrome/browser/ui/browser.h" 10 #include "chrome/browser/ui/browser.h"
12 #include "chrome/common/chrome_paths.h" 11 #include "chrome/common/chrome_paths.h"
13 #include "chrome/test/in_process_browser_test.h" 12 #include "chrome/test/in_process_browser_test.h"
14 #include "chrome/test/ui_test_utils.h" 13 #include "chrome/test/ui_test_utils.h"
15 #include "content/browser/site_instance.h" 14 #include "content/browser/site_instance.h"
16 #include "content/browser/tab_contents/tab_contents.h" 15 #include "content/browser/tab_contents/tab_contents.h"
17 #include "content/common/notification_details.h" 16 #include "content/common/notification_details.h"
18 #include "content/common/notification_observer.h" 17 #include "content/common/notification_observer.h"
19 #include "content/common/notification_registrar.h" 18 #include "content/common/notification_registrar.h"
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 EXPECT_EQ(1, browser()->tab_count()); 332 EXPECT_EQ(1, browser()->tab_count());
334 EXPECT_EQ(0, browser()->selected_index()); 333 EXPECT_EQ(0, browser()->selected_index());
335 EXPECT_EQ("/files/title2.html", 334 EXPECT_EQ("/files/title2.html",
336 browser()->GetSelectedTabContents()->GetURL().path()); 335 browser()->GetSelectedTabContents()->GetURL().path());
337 336
338 // Should have the same SiteInstance. 337 // Should have the same SiteInstance.
339 scoped_refptr<SiteInstance> noref_site_instance( 338 scoped_refptr<SiteInstance> noref_site_instance(
340 browser()->GetSelectedTabContents()->GetSiteInstance()); 339 browser()->GetSelectedTabContents()->GetSiteInstance());
341 EXPECT_EQ(orig_site_instance, noref_site_instance); 340 EXPECT_EQ(orig_site_instance, noref_site_instance);
342 } 341 }
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host.cc ('k') | content/browser/renderer_host/test_render_view_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698