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

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

Issue 11146028: Mark Chrome OS default apps as WAS_INSTALLED_BY_DEFAULT. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/external_provider_impl.cc
diff --git a/chrome/browser/extensions/external_provider_impl.cc b/chrome/browser/extensions/external_provider_impl.cc
index 7ff7c537557ac2bc8f90435ee7119a20d453e8b7..55318ec28a75534abe86a0afabd33cc8c47ebfb7 100644
--- a/chrome/browser/extensions/external_provider_impl.cc
+++ b/chrome/browser/extensions/external_provider_impl.cc
@@ -333,7 +333,8 @@ void ExternalProviderImpl::CreateExternalProviders(
user_manager && user_manager->IsLoggedInAsDemoUser() &&
g_browser_process->browser_policy_connector()->GetDeviceMode() ==
policy::DEVICE_MODE_KIOSK;
- bundled_extension_creation_flags = Extension::FROM_WEBSTORE;
+ bundled_extension_creation_flags = Extension::FROM_WEBSTORE |
+ Extension::WAS_INSTALLED_BY_DEFAULT;
#endif
if (!is_chromeos_demo_session) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698