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

Side by Side Diff: chrome/browser/site_instance_unittest.cc

Issue 28208: Attempting backout of r10495 due to ui_tests (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: Created 11 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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/renderer_host/browser_render_process_host.h" 5 #include "chrome/browser/renderer_host/browser_render_process_host.h"
6 #include "chrome/browser/renderer_host/render_view_host.h" 6 #include "chrome/browser/renderer_host/render_view_host.h"
7 #include "chrome/browser/tab_contents/navigation_entry.h" 7 #include "chrome/browser/tab_contents/navigation_entry.h"
8 #include "chrome/browser/tab_contents/web_contents.h" 8 #include "chrome/browser/tab_contents/web_contents.h"
9 #include "chrome/common/render_messages.h" 9 #include "chrome/common/render_messages.h"
10 #include "chrome/common/url_constants.h"
11 #include "chrome/test/testing_profile.h" 10 #include "chrome/test/testing_profile.h"
12 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
13 12
14 namespace { 13 namespace {
15 14
16 class SiteInstanceTest : public testing::Test { 15 class SiteInstanceTest : public testing::Test {
17 private: 16 private:
18 MessageLoopForUI message_loop_; 17 MessageLoopForUI message_loop_;
19 }; 18 };
20 19
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 389
391 // Should be able to see that we don't have SiteInstances. 390 // Should be able to see that we don't have SiteInstances.
392 EXPECT_FALSE(browsing_instance->HasSiteInstance( 391 EXPECT_FALSE(browsing_instance->HasSiteInstance(
393 GURL("https://www.google.com"))); // not visited before 392 GURL("https://www.google.com"))); // not visited before
394 EXPECT_FALSE(browsing_instance3->HasSiteInstance( 393 EXPECT_FALSE(browsing_instance3->HasSiteInstance(
395 GURL("http://www.yahoo.com"))); // different BI, different profile 394 GURL("http://www.yahoo.com"))); // different BI, different profile
396 395
397 // browsing_instances will be deleted when their SiteInstances are deleted 396 // browsing_instances will be deleted when their SiteInstances are deleted
398 } 397 }
399 398
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698