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

Side by Side Diff: chrome/browser/extensions/app_process_apitest.cc

Issue 3145001: FBTF: Clean up task.h in x11_util.h and header usage in some delegates. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: more 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/utf_string_conversions.h"
5 #include "chrome/browser/browser.h" 6 #include "chrome/browser/browser.h"
6 #include "chrome/browser/extensions/extension_apitest.h" 7 #include "chrome/browser/extensions/extension_apitest.h"
7 #include "chrome/browser/extensions/extension_host.h" 8 #include "chrome/browser/extensions/extension_host.h"
8 #include "chrome/browser/extensions/extension_process_manager.h" 9 #include "chrome/browser/extensions/extension_process_manager.h"
9 #include "chrome/browser/profile.h" 10 #include "chrome/browser/profile.h"
10 #include "chrome/browser/renderer_host/render_view_host.h" 11 #include "chrome/browser/renderer_host/render_view_host.h"
11 #include "chrome/browser/tab_contents/tab_contents.h" 12 #include "chrome/browser/tab_contents/tab_contents.h"
12 #include "chrome/common/chrome_switches.h" 13 #include "chrome/common/chrome_switches.h"
13 #include "chrome/test/ui_test_utils.h" 14 #include "chrome/test/ui_test_utils.h"
14 #include "net/base/mock_host_resolver.h" 15 #include "net/base/mock_host_resolver.h"
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 // Navigate the app tab into the browse extent. It should stay in the app 109 // Navigate the app tab into the browse extent. It should stay in the app
109 // process. 110 // process.
110 const GURL& browse_url(base_url.Resolve("path4/empty.html")); 111 const GURL& browse_url(base_url.Resolve("path4/empty.html"));
111 NavigateTabHelper(browser()->GetTabContentsAt(1), browse_url); 112 NavigateTabHelper(browser()->GetTabContentsAt(1), browse_url);
112 NavigateTabHelper(browser()->GetTabContentsAt(3), browse_url); 113 NavigateTabHelper(browser()->GetTabContentsAt(3), browse_url);
113 EXPECT_NE(host->render_process_host(), 114 EXPECT_NE(host->render_process_host(),
114 browser()->GetTabContentsAt(1)->render_view_host()->process()); 115 browser()->GetTabContentsAt(1)->render_view_host()->process());
115 EXPECT_EQ(host->render_process_host(), 116 EXPECT_EQ(host->render_process_host(),
116 browser()->GetTabContentsAt(3)->render_view_host()->process()); 117 browser()->GetTabContentsAt(3)->render_view_host()->process());
117 } 118 }
OLDNEW
« no previous file with comments | « chrome/browser/download/download_manager.cc ('k') | chrome/browser/extensions/execute_code_in_tab_function.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698