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

Unified Diff: chrome/browser/extensions/chrome_app_sorting_unittest.cc

Issue 282103003: Moved IS_EPHEMERAL flag to extension prefs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/chrome_app_sorting_unittest.cc
diff --git a/chrome/browser/extensions/chrome_app_sorting_unittest.cc b/chrome/browser/extensions/chrome_app_sorting_unittest.cc
index 26167974ff2a953dac44805cca34d8890a926b24..7e9f4ea89617faeea39e787697b0bb29ecf55dbb 100644
--- a/chrome/browser/extensions/chrome_app_sorting_unittest.cc
+++ b/chrome/browser/extensions/chrome_app_sorting_unittest.cc
@@ -31,6 +31,7 @@ class ChromeAppSortingAppLocation : public ChromeAppSortingTest {
prefs()->OnExtensionInstalled(extension_.get(),
Extension::ENABLED,
false,
+ false,
syncer::StringOrdinal(),
std::string());
}
@@ -60,6 +61,7 @@ class ChromeAppSortingAppLaunchOrdinal : public ChromeAppSortingTest {
prefs()->OnExtensionInstalled(extension_.get(),
Extension::ENABLED,
false,
+ false,
syncer::StringOrdinal(),
std::string());
}
@@ -113,6 +115,7 @@ class ChromeAppSortingPageOrdinal : public ChromeAppSortingTest {
prefs()->OnExtensionInstalled(extension_.get(),
Extension::ENABLED,
false,
+ false,
first_page_,
std::string());
EXPECT_TRUE(first_page_.Equals(
@@ -124,6 +127,7 @@ class ChromeAppSortingPageOrdinal : public ChromeAppSortingTest {
prefs()->OnExtensionInstalled(extension2.get(),
Extension::ENABLED,
false,
+ false,
syncer::StringOrdinal(),
std::string());
EXPECT_TRUE(first_page_.Equals(
@@ -640,6 +644,7 @@ class ChromeAppSortingPreinstalledAppsBase : public PrefsPrepopulatedTestBase {
prefs()->OnExtensionInstalled(app1_scoped_.get(),
Extension::ENABLED,
false,
+ false,
syncer::StringOrdinal(),
std::string());
@@ -649,6 +654,7 @@ class ChromeAppSortingPreinstalledAppsBase : public PrefsPrepopulatedTestBase {
prefs()->OnExtensionInstalled(app2_scoped_.get(),
Extension::ENABLED,
false,
+ false,
syncer::StringOrdinal(),
std::string());
@@ -836,6 +842,7 @@ class ChromeAppSortingDefaultOrdinalsBase : public ChromeAppSortingTest {
prefs()->OnExtensionInstalled(app_.get(),
Extension::ENABLED,
false,
+ false,
syncer::StringOrdinal(),
std::string());
}
@@ -881,8 +888,12 @@ class ChromeAppSortingDefaultOrdinalOverriddenByInstallPage
protected:
virtual void InstallApps() OVERRIDE {
install_page_ = default_page_ordinal_.CreateAfter();
- prefs()->OnExtensionInstalled(
- app_.get(), Extension::ENABLED, false, install_page_, std::string());
+ prefs()->OnExtensionInstalled(app_.get(),
+ Extension::ENABLED,
+ false,
+ false,
+ install_page_,
+ std::string());
}
private:

Powered by Google App Engine
This is Rietveld 408576698