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

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

Issue 1128753003: Add minimal profile creation version for default apps install on Chrome OS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed #ifdef Created 5 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/external_provider_impl.h
diff --git a/chrome/browser/extensions/external_provider_impl.h b/chrome/browser/extensions/external_provider_impl.h
index 6217fb7af12727ddd42c02afcf6d462e6f345d7d..5a69b312981730061daca7f4219c95a12b8f7565 100644
--- a/chrome/browser/extensions/external_provider_impl.h
+++ b/chrome/browser/extensions/external_provider_impl.h
@@ -5,6 +5,7 @@
#ifndef CHROME_BROWSER_EXTENSIONS_EXTERNAL_PROVIDER_IMPL_H_
#define CHROME_BROWSER_EXTENSIONS_EXTERNAL_PROVIDER_IMPL_H_
+#include <set>
#include <string>
#include "base/memory/ref_counted.h"
@@ -73,6 +74,7 @@ class ExternalProviderImpl : public ExternalProviderInterface {
static const char kSupportedLocales[];
static const char kWasInstalledByOem[];
static const char kMayBeUntrusted[];
+ static const char kMinProfileCreatedByVersion[];
void set_auto_acknowledge(bool auto_acknowledge) {
auto_acknowledge_ = auto_acknowledge;
@@ -83,6 +85,10 @@ class ExternalProviderImpl : public ExternalProviderInterface {
}
private:
+ bool HandleMinProfileVersion(const base::DictionaryValue* extension,
+ const std::string& extension_id,
+ std::set<std::string>* unsupported_extensions);
+
// Location for external extensions that are provided by this provider from
// local crx files.
const Manifest::Location crx_location_;
« no previous file with comments | « chrome/browser/extensions/extension_service_unittest.cc ('k') | chrome/browser/extensions/external_provider_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698