| Index: chrome/browser/sync/test/integration/apps_helper.h
|
| diff --git a/chrome/browser/sync/test/integration/apps_helper.h b/chrome/browser/sync/test/integration/apps_helper.h
|
| index 27567e38f0781e6bd142318f59bb533f349bffc1..86968fff6096fc0ca5301200432c8de01b437479 100644
|
| --- a/chrome/browser/sync/test/integration/apps_helper.h
|
| +++ b/chrome/browser/sync/test/integration/apps_helper.h
|
| @@ -17,9 +17,13 @@ namespace apps_helper {
|
| // legacy packaged and platform) as the verifier.
|
| bool HasSameAppsAsVerifier(int index) WARN_UNUSED_RESULT;
|
|
|
| +// Returns true iff |profile1| has same apps (hosted, legacy packaged and
|
| +// platform) as |profile2|.
|
| +bool HasSameApps(Profile* profile1, Profile* profile2);
|
| +
|
| // Returns true iff all existing profiles have the same apps (hosted,
|
| -// legacy packaged and platform) as the verifier.
|
| -bool AllProfilesHaveSameAppsAsVerifier() WARN_UNUSED_RESULT;
|
| +// legacy packaged and platform).
|
| +bool AllProfilesHaveSameApps() WARN_UNUSED_RESULT;
|
|
|
| // Installs the app for the given index to |profile|, and returns the extension
|
| // ID of the new app.
|
| @@ -47,12 +51,19 @@ void EnableApp(Profile* profile, int index);
|
| // Disables the app for the given index on |profile|.
|
| void DisableApp(Profile* profile, int index);
|
|
|
| +// Returns true if the app with index |index| is enabled on |profile|.
|
| +bool IsAppEnabled(Profile* profile, int index);
|
| +
|
| // Enables the app for the given index in incognito mode on |profile|.
|
| void IncognitoEnableApp(Profile* profile, int index);
|
|
|
| // Disables the app for the given index in incognito mode on |profile|.
|
| void IncognitoDisableApp(Profile* profile, int index);
|
|
|
| +// Returns true if the app with index |index| is enabled in incognito mode on
|
| +// |profile|.
|
| +bool IsIncognitoEnabled(Profile* profile, int index);
|
| +
|
| // Gets the page ordinal value for the application at the given index on
|
| // |profile|.
|
| syncer::StringOrdinal GetPageOrdinalForApp(Profile* profile, int app_index);
|
|
|