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

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

Issue 593223003: Fix default value of ExtensionManagement::IndividualSettings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes addressing #3 Created 6 years, 3 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 | chrome/browser/extensions/extension_management.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_management.h
diff --git a/chrome/browser/extensions/extension_management.h b/chrome/browser/extensions/extension_management.h
index 5c443548bde8e803b69761ee46b573d3bdc6e735..d7d1466409cb672c0b5f1f44f1f22a0e3853651e 100644
--- a/chrome/browser/extensions/extension_management.h
+++ b/chrome/browser/extensions/extension_management.h
@@ -64,6 +64,9 @@ class ExtensionManagement : public KeyedService {
// by an ID, a group of extensions with specific |update_url| or all
// extensions at once.
struct IndividualSettings {
+ IndividualSettings();
+ ~IndividualSettings();
+
void Reset();
// Extension installation mode. Setting this to INSTALLATION_FORCED or
@@ -72,6 +75,8 @@ class ExtensionManagement : public KeyedService {
// be specified, containing the update URL for this extension.
// Note that |update_url| will be ignored for INSTALLATION_ALLOWED and
// INSTALLATION_BLOCKED installation mode.
+ // These settings will override the default settings, and unspecified
+ // settings will take value from default settings.
InstallationMode installation_mode;
std::string update_url;
};
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_management.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698