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

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

Issue 308003005: app_list: Drive app integration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: format Created 6 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/convert_web_app.cc
diff --git a/chrome/browser/extensions/convert_web_app.cc b/chrome/browser/extensions/convert_web_app.cc
index 66fe880573a590d49f69736e22aa2f86c4d35276..05a2d149cfeea8523ccad35251576e9b4b0a6424 100644
--- a/chrome/browser/extensions/convert_web_app.cc
+++ b/chrome/browser/extensions/convert_web_app.cc
@@ -86,6 +86,7 @@ std::string ConvertTimeToExtensionVersion(const Time& create_time) {
scoped_refptr<Extension> ConvertWebAppToExtension(
const WebApplicationInfo& web_app,
const Time& create_time,
+ int creation_flags,
const base::FilePath& extensions_dir) {
base::FilePath install_temp_dir =
file_util::GetInstallTempDir(extensions_dir);
@@ -161,7 +162,7 @@ scoped_refptr<Extension> ConvertWebAppToExtension(
temp_dir.path(),
Manifest::INTERNAL,
*root,
- Extension::FROM_BOOKMARK,
+ creation_flags,
&error);
if (!extension.get()) {
LOG(ERROR) << error;

Powered by Google App Engine
This is Rietveld 408576698