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

Unified Diff: chrome/browser/sync/test/integration/two_client_apps_sync_test.cc

Issue 11299326: Revert 170660 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/test/integration/two_client_apps_sync_test.cc
===================================================================
--- chrome/browser/sync/test/integration/two_client_apps_sync_test.cc (revision 170888)
+++ chrome/browser/sync/test/integration/two_client_apps_sync_test.cc (working copy)
@@ -3,7 +3,6 @@
// found in the LICENSE file.
#include "base/basictypes.h"
-#include "base/command_line.h"
#include "chrome/browser/extensions/extension_service.h"
#include "chrome/browser/extensions/extension_sorting.h"
#include "chrome/browser/profiles/profile.h"
@@ -11,7 +10,6 @@
#include "chrome/browser/sync/test/integration/apps_helper.h"
#include "chrome/browser/sync/test/integration/sync_app_helper.h"
#include "chrome/browser/sync/test/integration/sync_test.h"
-#include "chrome/common/chrome_switches.h"
#include "chrome/common/extensions/extension_constants.h"
#include "sync/api/string_ordinal.h"
@@ -30,7 +28,6 @@
using apps_helper::SetAppLaunchOrdinalForApp;
using apps_helper::SetPageOrdinalForApp;
using apps_helper::UninstallApp;
-using apps_helper::WaitForPlatformAppsToUnload;
class TwoClientAppsSyncTest : public SyncTest {
public:
@@ -38,14 +35,6 @@
virtual ~TwoClientAppsSyncTest() {}
- protected:
- virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE {
- SyncTest::SetUpCommandLine(command_line);
- // Make event pages get suspended quicker.
- command_line->AppendSwitchASCII(switches::kEventPageIdleTime, "1");
- command_line->AppendSwitchASCII(switches::kEventPageUnloadingTime, "1");
- }
-
private:
DISALLOW_COPY_AND_ASSIGN(TwoClientAppsSyncTest);
};
@@ -119,8 +108,6 @@
InstallAppsPendingForSync(GetProfile(1));
ASSERT_TRUE(AllProfilesHaveSameAppsAsVerifier());
-
- WaitForPlatformAppsToUnload();
}
// Install some apps on both clients, then sync. Then install some apps on only

Powered by Google App Engine
This is Rietveld 408576698