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

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

Issue 1130903006: cros: Fix DriveAppProvider racing during initialization. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
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