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

Side by Side Diff: chrome/browser/apps/app_shim/app_shim_quit_interactive_uitest_mac.mm

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 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 // Tests behavior when quitting apps with app shims. 5 // Tests behavior when quitting apps with app shims.
6 6
7 #import <Cocoa/Cocoa.h> 7 #import <Cocoa/Cocoa.h>
8 #include <vector> 8 #include <vector>
9 9
10 #include "apps/switches.h" 10 #include "apps/switches.h"
11 #include "base/macros.h"
11 #include "chrome/browser/apps/app_browsertest_util.h" 12 #include "chrome/browser/apps/app_browsertest_util.h"
12 #include "chrome/browser/apps/app_shim/app_shim_host_manager_mac.h" 13 #include "chrome/browser/apps/app_shim/app_shim_host_manager_mac.h"
13 #include "chrome/browser/apps/app_shim/extension_app_shim_handler_mac.h" 14 #include "chrome/browser/apps/app_shim/extension_app_shim_handler_mac.h"
14 #include "chrome/browser/browser_process.h" 15 #include "chrome/browser/browser_process.h"
15 #include "chrome/browser/browser_shutdown.h" 16 #include "chrome/browser/browser_shutdown.h"
16 #include "chrome/browser/profiles/profile.h" 17 #include "chrome/browser/profiles/profile.h"
17 #include "chrome/common/chrome_switches.h" 18 #include "chrome/common/chrome_switches.h"
18 #include "chrome/test/base/interactive_test_utils.h" 19 #include "chrome/test/base/interactive_test_utils.h"
19 #include "content/public/test/test_utils.h" 20 #include "content/public/test/test_utils.h"
20 #include "extensions/browser/extension_registry.h" 21 #include "extensions/browser/extension_registry.h"
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 atStart:NO]; 121 atStart:NO];
121 122
122 // This will time out if the event above does not terminate Chrome. 123 // This will time out if the event above does not terminate Chrome.
123 content::RunMessageLoop(); 124 content::RunMessageLoop();
124 125
125 EXPECT_FALSE(handler_->FindHost(profile(), extension_id_)); 126 EXPECT_FALSE(handler_->FindHost(profile(), extension_id_));
126 EXPECT_TRUE(browser_shutdown::IsTryingToQuit()); 127 EXPECT_TRUE(browser_shutdown::IsTryingToQuit());
127 } 128 }
128 129
129 } // namespace apps 130 } // namespace apps
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698