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

Side by Side Diff: chrome/browser/apps/guest_view/app_view_browsertest.cc

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/macros.h"
5 #include "base/strings/stringprintf.h" 6 #include "base/strings/stringprintf.h"
6 #include "chrome/browser/apps/app_browsertest_util.h" 7 #include "chrome/browser/apps/app_browsertest_util.h"
7 #include "components/guest_view/browser/guest_view_manager.h" 8 #include "components/guest_view/browser/guest_view_manager.h"
8 #include "components/guest_view/browser/guest_view_manager_factory.h" 9 #include "components/guest_view/browser/guest_view_manager_factory.h"
9 #include "components/guest_view/browser/test_guest_view_manager.h" 10 #include "components/guest_view/browser/test_guest_view_manager.h"
10 #include "content/public/browser/notification_service.h" 11 #include "content/public/browser/notification_service.h"
11 #include "content/public/browser/render_process_host.h" 12 #include "content/public/browser/render_process_host.h"
12 #include "content/public/browser/render_process_host_observer.h" 13 #include "content/public/browser/render_process_host_observer.h"
13 #include "content/public/test/browser_test_utils.h" 14 #include "content/public/test/browser_test_utils.h"
14 #include "content/public/test/test_utils.h" 15 #include "content/public/test/test_utils.h"
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 extensions::AppRuntimeEventRouter::DispatchOnEmbedRequestedEvent( 252 extensions::AppRuntimeEventRouter::DispatchOnEmbedRequestedEvent(
252 browser()->profile(), fake_embed_request_param.Pass(), bad_app); 253 browser()->profile(), fake_embed_request_param.Pass(), bad_app);
253 bad_app_obs.WaitUntilRenderProcessHostKilled(); 254 bad_app_obs.WaitUntilRenderProcessHostKilled();
254 // Now ask the guest to continue embedding. 255 // Now ask the guest to continue embedding.
255 ASSERT_TRUE( 256 ASSERT_TRUE(
256 ExecuteScript(extensions::ProcessManager::Get(browser()->profile()) 257 ExecuteScript(extensions::ProcessManager::Get(browser()->profile())
257 ->GetBackgroundHostForExtension(guest_app->id()) 258 ->GetBackgroundHostForExtension(guest_app->id())
258 ->web_contents(), 259 ->web_contents(),
259 "continueEmbedding();")); 260 "continueEmbedding();"));
260 } 261 }
OLDNEW
« no previous file with comments | « chrome/browser/apps/drive/drive_service_bridge.cc ('k') | chrome/browser/apps/guest_view/web_view_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698