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

Side by Side Diff: chrome/browser/sync/test/integration/apps_helper.h

Issue 11117011: Keep browser process alive while there are platform apps with background pages running. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: And another test 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_APPS_HELPER_H_ 5 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_APPS_HELPER_H_
6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_APPS_HELPER_H_ 6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_APPS_HELPER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "chrome/browser/sync/test/integration/sync_test.h" 10 #include "chrome/browser/sync/test/integration/sync_test.h"
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 77
78 // Copy the page and app launch ordinal value for the application at the given 78 // Copy the page and app launch ordinal value for the application at the given
79 // index on |profile_source| to |profile_destination|. 79 // index on |profile_source| to |profile_destination|.
80 // The main intention of this is to properly setup the values on the verifier 80 // The main intention of this is to properly setup the values on the verifier
81 // profile in situations where the other profiles have conflicting values. 81 // profile in situations where the other profiles have conflicting values.
82 void CopyNTPOrdinals(Profile* source, Profile* destination, int index); 82 void CopyNTPOrdinals(Profile* source, Profile* destination, int index);
83 83
84 // Fix any NTP icon collisions that are currently in |profile|. 84 // Fix any NTP icon collisions that are currently in |profile|.
85 void FixNTPOrdinalCollisions(Profile* profile); 85 void FixNTPOrdinalCollisions(Profile* profile);
86 86
87 // Wait until there are no lazy background pages loaded.
88 // This needs to be done before exiting tests which installed platform apps.
89 void WaitForPlatformAppsToUnload();
90
87 } // namespace apps_helper 91 } // namespace apps_helper
88 92
89 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_APPS_HELPER_H_ 93 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_APPS_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_dependency_manager.cc ('k') | chrome/browser/sync/test/integration/apps_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698