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

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

Issue 2158753002: Adding the creation_flags back to pending_extension_info. Add a unit test to cover the case when an… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2785
Patch Set: Created 4 years, 5 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/pending_extension_info.cc
diff --git a/chrome/browser/extensions/pending_extension_info.cc b/chrome/browser/extensions/pending_extension_info.cc
index 7c6aed8694fe5bc83d9b71ac34d0946c8fa93bc0..1a034ca63a7fe07036b5a7ea91436119ceb61c82 100644
--- a/chrome/browser/extensions/pending_extension_info.cc
+++ b/chrome/browser/extensions/pending_extension_info.cc
@@ -2,9 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/extensions/pending_extension_info.h"
-
#include "base/logging.h"
+#include "chrome/browser/extensions/pending_extension_info.h"
+#include "extensions/common/extension.h"
namespace extensions {
@@ -16,6 +16,7 @@ PendingExtensionInfo::PendingExtensionInfo(
ShouldAllowInstallPredicate should_allow_install,
bool is_from_sync,
Manifest::Location install_source,
+ int creation_flags,
bool mark_acknowledged,
bool remote_install)
: id_(id),
@@ -25,6 +26,7 @@ PendingExtensionInfo::PendingExtensionInfo(
should_allow_install_(should_allow_install),
is_from_sync_(is_from_sync),
install_source_(install_source),
+ creation_flags_(creation_flags),
mark_acknowledged_(mark_acknowledged),
remote_install_(remote_install) {
}
@@ -34,6 +36,7 @@ PendingExtensionInfo::PendingExtensionInfo()
should_allow_install_(NULL),
is_from_sync_(true),
install_source_(Manifest::INVALID_LOCATION),
+ creation_flags_(Extension::NO_FLAGS),
mark_acknowledged_(false),
remote_install_(false) {
}
« no previous file with comments | « chrome/browser/extensions/pending_extension_info.h ('k') | chrome/browser/extensions/pending_extension_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698