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

Side by Side Diff: chrome/browser/ui/browser_unittest.cc

Issue 19631004: Update include paths in chrome/browser/ for base/process changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge ToT Created 7 years, 5 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
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/cocoa/hung_renderer_controller.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/ui/browser.h" 5 #include "chrome/browser/ui/browser.h"
6 6
7 #include "base/process_util.h"
8 #include "chrome/browser/ui/tabs/tab_strip_model.h" 7 #include "chrome/browser/ui/tabs/tab_strip_model.h"
9 #include "chrome/test/base/browser_with_test_window_test.h" 8 #include "chrome/test/base/browser_with_test_window_test.h"
10 #include "content/public/browser/site_instance.h" 9 #include "content/public/browser/site_instance.h"
11 #include "content/public/browser/web_contents.h" 10 #include "content/public/browser/web_contents.h"
12 #include "content/public/test/web_contents_tester.h" 11 #include "content/public/test/web_contents_tester.h"
13 12
14 using content::SiteInstance; 13 using content::SiteInstance;
15 using content::WebContents; 14 using content::WebContents;
16 using content::WebContentsTester; 15 using content::WebContentsTester;
17 16
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 EXPECT_TRUE(contents2->IsCrashed()); 57 EXPECT_TRUE(contents2->IsCrashed());
59 58
60 // Selecting the second tab does not cause a load or clear the crash. 59 // Selecting the second tab does not cause a load or clear the crash.
61 tab_strip_model->ActivateTabAt(1, true); 60 tab_strip_model->ActivateTabAt(1, true);
62 EXPECT_TRUE(tab_strip_model->IsTabSelected(1)); 61 EXPECT_TRUE(tab_strip_model->IsTabSelected(1));
63 EXPECT_FALSE(contents2->IsLoading()); 62 EXPECT_FALSE(contents2->IsLoading());
64 EXPECT_TRUE(contents2->IsCrashed()); 63 EXPECT_TRUE(contents2->IsCrashed());
65 } 64 }
66 65
67 #endif // !defined(OS_ANDROID) && !defined(OS_IOS) 66 #endif // !defined(OS_ANDROID) && !defined(OS_IOS)
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/cocoa/hung_renderer_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698