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

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

Issue 5968009: Change extension unload notification to indicate updates.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 <algorithm> 7 #include <algorithm>
8 8
9 #include "app/l10n_util.h" 9 #include "app/l10n_util.h"
10 #include "base/base64.h" 10 #include "base/base64.h"
(...skipping 2241 matching lines...) Expand 10 before | Expand all | Expand 10 after
2252 ExtensionInfo::~ExtensionInfo() {} 2252 ExtensionInfo::~ExtensionInfo() {}
2253 2253
2254 UninstalledExtensionInfo::UninstalledExtensionInfo( 2254 UninstalledExtensionInfo::UninstalledExtensionInfo(
2255 const Extension& extension) 2255 const Extension& extension)
2256 : extension_id(extension.id()), 2256 : extension_id(extension.id()),
2257 extension_api_permissions(extension.api_permissions()), 2257 extension_api_permissions(extension.api_permissions()),
2258 extension_type(extension.GetType()), 2258 extension_type(extension.GetType()),
2259 update_url(extension.update_url()) {} 2259 update_url(extension.update_url()) {}
2260 2260
2261 UninstalledExtensionInfo::~UninstalledExtensionInfo() {} 2261 UninstalledExtensionInfo::~UninstalledExtensionInfo() {}
2262
2263
2264 UnloadedExtensionInfo::UnloadedExtensionInfo(
2265 const Extension* extension,
2266 Reason reason)
2267 : reason(reason),
2268 already_disabled(false),
2269 extension(extension) {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698