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

Side by Side Diff: chrome/common/extensions/extension.cc

Issue 14993013: Windows: When an app is updated and its name changes, recreate shortcuts. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Respond to reviewer feedback. Created 7 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 unified diff | Download patch
« no previous file with comments | « chrome/common/extensions/extension.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/common/extensions/extension.h" 5 #include "chrome/common/extensions/extension.h"
6 6
7 #include "base/base64.h" 7 #include "base/base64.h"
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 1212 matching lines...) Expand 10 before | Expand all | Expand 10 after
1223 extension_path(path), 1223 extension_path(path),
1224 extension_location(location) { 1224 extension_location(location) {
1225 if (manifest) 1225 if (manifest)
1226 extension_manifest.reset(manifest->DeepCopy()); 1226 extension_manifest.reset(manifest->DeepCopy());
1227 } 1227 }
1228 1228
1229 ExtensionInfo::~ExtensionInfo() {} 1229 ExtensionInfo::~ExtensionInfo() {}
1230 1230
1231 InstalledExtensionInfo::InstalledExtensionInfo( 1231 InstalledExtensionInfo::InstalledExtensionInfo(
1232 const Extension* extension, 1232 const Extension* extension,
1233 bool is_update) 1233 bool is_update,
1234 const std::string& old_name)
1234 : extension(extension), 1235 : extension(extension),
1235 is_update(is_update) {} 1236 is_update(is_update),
1237 old_name(old_name) {}
1236 1238
1237 UnloadedExtensionInfo::UnloadedExtensionInfo( 1239 UnloadedExtensionInfo::UnloadedExtensionInfo(
1238 const Extension* extension, 1240 const Extension* extension,
1239 extension_misc::UnloadedExtensionReason reason) 1241 extension_misc::UnloadedExtensionReason reason)
1240 : reason(reason), 1242 : reason(reason),
1241 already_disabled(false), 1243 already_disabled(false),
1242 extension(extension) {} 1244 extension(extension) {}
1243 1245
1244 UpdatedExtensionPermissionsInfo::UpdatedExtensionPermissionsInfo( 1246 UpdatedExtensionPermissionsInfo::UpdatedExtensionPermissionsInfo(
1245 const Extension* extension, 1247 const Extension* extension,
1246 const PermissionSet* permissions, 1248 const PermissionSet* permissions,
1247 Reason reason) 1249 Reason reason)
1248 : reason(reason), 1250 : reason(reason),
1249 extension(extension), 1251 extension(extension),
1250 permissions(permissions) {} 1252 permissions(permissions) {}
1251 1253
1252 } // namespace extensions 1254 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698