| OLD | NEW |
| 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 void OnExtensionUninstalled(content::BrowserContext* browser_context, | 89 void OnExtensionUninstalled(content::BrowserContext* browser_context, |
| 90 const extensions::Extension* extension, | 90 const extensions::Extension* extension, |
| 91 extensions::UninstallReason reason) override; | 91 extensions::UninstallReason reason) override; |
| 92 | 92 |
| 93 Profile* profile_; | 93 Profile* profile_; |
| 94 DriveAppUninstallSyncService* uninstall_sync_service_; | 94 DriveAppUninstallSyncService* uninstall_sync_service_; |
| 95 | 95 |
| 96 scoped_ptr<DriveServiceBridge> service_bridge_; | 96 scoped_ptr<DriveServiceBridge> service_bridge_; |
| 97 scoped_ptr<DriveAppMapping> mapping_; | 97 scoped_ptr<DriveAppMapping> mapping_; |
| 98 DriveAppInfos drive_apps_; | 98 DriveAppInfos drive_apps_; |
| 99 bool drive_app_registry_updated_; |
| 99 | 100 |
| 100 // Tracks the pending web app convertions. | 101 // Tracks the pending web app convertions. |
| 101 ScopedVector<DriveAppConverter> pending_converters_; | 102 ScopedVector<DriveAppConverter> pending_converters_; |
| 102 | 103 |
| 103 base::WeakPtrFactory<DriveAppProvider> weak_ptr_factory_; | 104 base::WeakPtrFactory<DriveAppProvider> weak_ptr_factory_; |
| 104 | 105 |
| 105 DISALLOW_COPY_AND_ASSIGN(DriveAppProvider); | 106 DISALLOW_COPY_AND_ASSIGN(DriveAppProvider); |
| 106 }; | 107 }; |
| 107 | 108 |
| 108 #endif // CHROME_BROWSER_APPS_DRIVE_DRIVE_APP_PROVIDER_H_ | 109 #endif // CHROME_BROWSER_APPS_DRIVE_DRIVE_APP_PROVIDER_H_ |
| OLD | NEW |