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

Side by Side Diff: chrome/browser/apps/app_browsertest.cc

Issue 366813007: Removed InProcessBrowserTest::CleanUpOnMainThread() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed superfluous override. Created 6 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 | « no previous file | chrome/browser/apps/drive/drive_app_provider_browsertest.cc » ('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 "apps/app_window.h" 5 #include "apps/app_window.h"
6 #include "apps/app_window_registry.h" 6 #include "apps/app_window_registry.h"
7 #include "apps/launcher.h" 7 #include "apps/launcher.h"
8 #include "apps/ui/native_app_window.h" 8 #include "apps/ui/native_app_window.h"
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 1195 matching lines...) Expand 10 before | Expand all | Expand 10 after
1206 mock_user_manager_ = new chromeos::MockUserManager; 1206 mock_user_manager_ = new chromeos::MockUserManager;
1207 user_manager_enabler_.reset( 1207 user_manager_enabler_.reset(
1208 new chromeos::ScopedUserManagerEnabler(mock_user_manager_)); 1208 new chromeos::ScopedUserManagerEnabler(mock_user_manager_));
1209 1209
1210 EXPECT_CALL(*mock_user_manager_, IsUserLoggedIn()) 1210 EXPECT_CALL(*mock_user_manager_, IsUserLoggedIn())
1211 .WillRepeatedly(testing::Return(true)); 1211 .WillRepeatedly(testing::Return(true));
1212 EXPECT_CALL(*mock_user_manager_, IsLoggedInAsKioskApp()) 1212 EXPECT_CALL(*mock_user_manager_, IsLoggedInAsKioskApp())
1213 .WillRepeatedly(testing::Return(true)); 1213 .WillRepeatedly(testing::Return(true));
1214 } 1214 }
1215 1215
1216 virtual void CleanUpOnMainThread() OVERRIDE { 1216 virtual void TearDownOnMainThread() OVERRIDE {
1217 user_manager_enabler_.reset(); 1217 user_manager_enabler_.reset();
1218 PlatformAppBrowserTest::CleanUpOnMainThread(); 1218 PlatformAppBrowserTest::TearDownOnMainThread();
1219 } 1219 }
1220 1220
1221 virtual void TearDownInProcessBrowserTestFixture() OVERRIDE { 1221 virtual void TearDownInProcessBrowserTestFixture() OVERRIDE {
1222 PlatformAppBrowserTest::TearDownInProcessBrowserTestFixture(); 1222 PlatformAppBrowserTest::TearDownInProcessBrowserTestFixture();
1223 } 1223 }
1224 1224
1225 int num_request_restart_calls() const { 1225 int num_request_restart_calls() const {
1226 return power_manager_client_->num_request_restart_calls(); 1226 return power_manager_client_->num_request_restart_calls();
1227 } 1227 }
1228 1228
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
1281 LoadAndLaunchPlatformApp("reinstall_data_cleanup", "Launched"); 1281 LoadAndLaunchPlatformApp("reinstall_data_cleanup", "Launched");
1282 ASSERT_TRUE(extension); 1282 ASSERT_TRUE(extension);
1283 ASSERT_EQ(extension_id, extension->id()); 1283 ASSERT_EQ(extension_id, extension->id());
1284 1284
1285 ExtensionApiTest::ResultCatcher result_catcher; 1285 ExtensionApiTest::ResultCatcher result_catcher;
1286 EXPECT_TRUE(result_catcher.GetNextResult()); 1286 EXPECT_TRUE(result_catcher.GetNextResult());
1287 } 1287 }
1288 } 1288 }
1289 1289
1290 } // namespace extensions 1290 } // namespace extensions
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/apps/drive/drive_app_provider_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698