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

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

Issue 323843003: Add a do_not_sync pref to ExtensionPrefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 6 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/crx_installer.h
diff --git a/chrome/browser/extensions/crx_installer.h b/chrome/browser/extensions/crx_installer.h
index 93659c567c635674b2a4b8258263107ebf49b16f..e05c5628a82404ce79476d3ec9a240a577912aec 100644
--- a/chrome/browser/extensions/crx_installer.h
+++ b/chrome/browser/extensions/crx_installer.h
@@ -6,6 +6,7 @@
#define CHROME_BROWSER_EXTENSIONS_CRX_INSTALLER_H_
#include <string>
+#include <vector>
#include "base/compiler_specific.h"
#include "base/files/file_path.h"
@@ -196,6 +197,13 @@ class CrxInstaller
install_flags_ &= ~kInstallFlagIsEphemeral;
}
+ void set_do_not_sync(bool val) {
+ if (val)
+ install_flags_ |= kInstallFlagDoNotSync;
+ else
+ install_flags_ &= ~kInstallFlagDoNotSync;
+ }
not at google - send to devlin 2014/06/13 20:01:22 now that there are 3 of these, could you write a f
xiyuan 2014/06/13 20:35:42 Done.
+
bool did_handle_successfully() const { return did_handle_successfully_; }
Profile* profile() { return installer_.profile(); }

Powered by Google App Engine
This is Rietveld 408576698