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

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

Issue 15612002: Make sure the google wallet in-app payment support app is always installed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix clang compile error Created 7 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
« no previous file with comments | « chrome/browser/extensions/external_component_loader.cc ('k') | chrome/chrome_browser_extensions.gypi » ('j') | 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 790da546bca11d224c5bb938ca8df7704455a228..635f80aeeadd9f4144e009bf85132e4dc91e8fbf 100644
--- a/chrome/browser/extensions/external_provider_impl.cc
+++ b/chrome/browser/extensions/external_provider_impl.cc
@@ -19,6 +19,7 @@
#include "chrome/browser/app_mode/app_mode_utils.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/extensions/extension_service.h"
+#include "chrome/browser/extensions/external_component_loader.h"
#include "chrome/browser/extensions/external_policy_loader.h"
#include "chrome/browser/extensions/external_pref_loader.h"
#include "chrome/browser/extensions/external_provider_interface.h"
@@ -458,6 +459,15 @@ void ExternalProviderImpl::CreateExternalProviders(
}
#endif
}
+
+ provider_list->push_back(
Dmitry Polukhin 2013/08/14 19:39:12 FYI, I'm going to move this provider under "if (!i
+ linked_ptr<ExternalProviderInterface>(
+ new ExternalProviderImpl(
+ service,
+ new ExternalComponentLoader(),
+ Manifest::INVALID_LOCATION,
+ Manifest::EXTERNAL_POLICY_DOWNLOAD,
Mattias Nissler (ping if slow) 2013/09/05 08:19:06 Is the EXTERNAL_POLICY_DOWNLOAD location intention
asargent_no_longer_on_chrome 2013/09/05 21:19:16 Whether it was intentional or not, it is incorrect
+ Extension::FROM_WEBSTORE | Extension::WAS_INSTALLED_BY_DEFAULT)));
}
} // namespace extensions
« no previous file with comments | « chrome/browser/extensions/external_component_loader.cc ('k') | chrome/chrome_browser_extensions.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698