Chromium Code Reviews| 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(); } |