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

Side by Side Diff: chrome/browser/renderer_host/test/site_instance_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 "base/stl_util-inl.h"
5 #include "base/string16.h" 6 #include "base/string16.h"
6 #include "chrome/browser/browsing_instance.h" 7 #include "chrome/browser/browsing_instance.h"
7 #include "chrome/browser/child_process_security_policy.h" 8 #include "chrome/browser/child_process_security_policy.h"
8 #include "chrome/browser/renderer_host/browser_render_process_host.h" 9 #include "chrome/browser/renderer_host/browser_render_process_host.h"
9 #include "chrome/browser/renderer_host/render_view_host.h" 10 #include "chrome/browser/renderer_host/render_view_host.h"
10 #include "chrome/browser/renderer_host/test/test_render_view_host.h" 11 #include "chrome/browser/renderer_host/test/test_render_view_host.h"
11 #include "chrome/browser/tab_contents/navigation_entry.h" 12 #include "chrome/browser/tab_contents/navigation_entry.h"
12 #include "chrome/browser/tab_contents/tab_contents.h" 13 #include "chrome/browser/tab_contents/tab_contents.h"
13 #include "chrome/common/chrome_constants.h" 14 #include "chrome/common/chrome_constants.h"
14 #include "chrome/common/url_constants.h" 15 #include "chrome/common/url_constants.h"
(...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after
518 GURL("chrome-extension://baz/bar"))); 519 GURL("chrome-extension://baz/bar")));
519 EXPECT_EQ(s5a, s5b); 520 EXPECT_EQ(s5a, s5b);
520 521
521 // The derived profiles with the different sites. 522 // The derived profiles with the different sites.
522 scoped_refptr<SiteInstance> s6a(instance1->GetSiteInstanceForURL( 523 scoped_refptr<SiteInstance> s6a(instance1->GetSiteInstanceForURL(
523 GURL("chrome-extension://baz/bar"))); 524 GURL("chrome-extension://baz/bar")));
524 scoped_refptr<SiteInstance> s6b(instance3->GetSiteInstanceForURL( 525 scoped_refptr<SiteInstance> s6b(instance3->GetSiteInstanceForURL(
525 GURL("chrome-extension://foo/boo"))); 526 GURL("chrome-extension://foo/boo")));
526 EXPECT_NE(s6a, s6b); 527 EXPECT_NE(s6a, s6b);
527 } 528 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698