| Index: chrome/browser/sync_file_system/sync_file_system_service.cc
|
| diff --git a/chrome/browser/sync_file_system/sync_file_system_service.cc b/chrome/browser/sync_file_system/sync_file_system_service.cc
|
| index 963fc11b10a2cae3ed1507212c1c0171846a44a3..6fd2968913d1d35563273c4419d99d2a23378e2e 100644
|
| --- a/chrome/browser/sync_file_system/sync_file_system_service.cc
|
| +++ b/chrome/browser/sync_file_system/sync_file_system_service.cc
|
| @@ -451,6 +451,7 @@ void SyncFileSystemService::Observe(
|
| //
|
| // (User action) (Notification type)
|
| // Install: INSTALLED.
|
| + // Update: INSTALLED.
|
| // Uninstall: UNLOADED(UNINSTALL).
|
| // Launch, Close: No notification.
|
| // Enable: EABLED.
|
| @@ -475,7 +476,9 @@ void SyncFileSystemService::Observe(
|
|
|
| void SyncFileSystemService::HandleExtensionInstalled(
|
| const content::NotificationDetails& details) {
|
| - content::Details<const extensions::Extension> extension(details);
|
| + const extensions::Extension* extension =
|
| + content::Details<const extensions::InstalledExtensionInfo>(details)->
|
| + extension;
|
| GURL app_origin =
|
| extensions::Extension::GetBaseURLFromExtensionId(extension->id());
|
| DVLOG(1) << "Handle extension notification for INSTALLED: " << app_origin;
|
|
|