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

Side by Side Diff: chrome/browser/apps/drive/drive_app_provider.h

Issue 398083002: Add "UninstallReason" parameter to ExtensionRegistryObserver::OnExtensionUninstalled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix header file. Created 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/apps/drive/drive_app_provider.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef CHROME_BROWSER_APPS_DRIVE_DRIVE_APP_PROVIDER_H_ 5 #ifndef CHROME_BROWSER_APPS_DRIVE_DRIVE_APP_PROVIDER_H_
6 #define CHROME_BROWSER_APPS_DRIVE_DRIVE_APP_PROVIDER_H_ 6 #define CHROME_BROWSER_APPS_DRIVE_DRIVE_APP_PROVIDER_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 // drive::DriveAppRegistryObserver overrides: 71 // drive::DriveAppRegistryObserver overrides:
72 virtual void OnDriveAppRegistryUpdated() OVERRIDE; 72 virtual void OnDriveAppRegistryUpdated() OVERRIDE;
73 73
74 // extensions::ExtensionRegistryObserver overrides: 74 // extensions::ExtensionRegistryObserver overrides:
75 virtual void OnExtensionInstalled( 75 virtual void OnExtensionInstalled(
76 content::BrowserContext* browser_context, 76 content::BrowserContext* browser_context,
77 const extensions::Extension* extension, 77 const extensions::Extension* extension,
78 bool is_update) OVERRIDE; 78 bool is_update) OVERRIDE;
79 virtual void OnExtensionUninstalled( 79 virtual void OnExtensionUninstalled(
80 content::BrowserContext* browser_context, 80 content::BrowserContext* browser_context,
81 const extensions::Extension* extension) OVERRIDE; 81 const extensions::Extension* extension,
82 extensions::UninstallReason reason) OVERRIDE;
82 83
83 Profile* profile_; 84 Profile* profile_;
84 85
85 scoped_ptr<DriveServiceBridge> service_bridge_; 86 scoped_ptr<DriveServiceBridge> service_bridge_;
86 scoped_ptr<DriveAppMapping> mapping_; 87 scoped_ptr<DriveAppMapping> mapping_;
87 DriveAppInfos drive_apps_; 88 DriveAppInfos drive_apps_;
88 89
89 // Tracks the pending web app convertions. 90 // Tracks the pending web app convertions.
90 ScopedVector<DriveAppConverter> pending_converters_; 91 ScopedVector<DriveAppConverter> pending_converters_;
91 92
92 base::WeakPtrFactory<DriveAppProvider> weak_ptr_factory_; 93 base::WeakPtrFactory<DriveAppProvider> weak_ptr_factory_;
93 94
94 DISALLOW_COPY_AND_ASSIGN(DriveAppProvider); 95 DISALLOW_COPY_AND_ASSIGN(DriveAppProvider);
95 }; 96 };
96 97
97 #endif // CHROME_BROWSER_APPS_DRIVE_DRIVE_APP_PROVIDER_H_ 98 #endif // CHROME_BROWSER_APPS_DRIVE_DRIVE_APP_PROVIDER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/apps/drive/drive_app_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698