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

Side by Side Diff: chrome/browser/extensions/updater/local_extension_cache.h

Issue 846153005: Move WeakPtrFactory member to the end of LocalExtensionCache (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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/extensions/updater/local_extension_cache.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_EXTENSIONS_UPDATER_LOCAL_EXTENSION_CACHE_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_UPDATER_LOCAL_EXTENSION_CACHE_H_
6 #define CHROME_BROWSER_EXTENSIONS_UPDATER_LOCAL_EXTENSION_CACHE_H_ 6 #define CHROME_BROWSER_EXTENSIONS_UPDATER_LOCAL_EXTENSION_CACHE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 188
189 // Task runner for executing file I/O tasks. 189 // Task runner for executing file I/O tasks.
190 scoped_refptr<base::SequencedTaskRunner> backend_task_runner_; 190 scoped_refptr<base::SequencedTaskRunner> backend_task_runner_;
191 191
192 // Track state of the instance. 192 // Track state of the instance.
193 State state_; 193 State state_;
194 194
195 // This contains info about all cached extensions. 195 // This contains info about all cached extensions.
196 CacheMap cached_extensions_; 196 CacheMap cached_extensions_;
197 197
198 // Delay between polling cache status.
199 base::TimeDelta cache_status_polling_delay_;
200
198 // Weak factory for callbacks from the backend and delayed tasks. 201 // Weak factory for callbacks from the backend and delayed tasks.
199 base::WeakPtrFactory<LocalExtensionCache> weak_ptr_factory_; 202 base::WeakPtrFactory<LocalExtensionCache> weak_ptr_factory_;
200 203
201 // Delay between polling cache status.
202 base::TimeDelta cache_status_polling_delay_;
203
204 DISALLOW_COPY_AND_ASSIGN(LocalExtensionCache); 204 DISALLOW_COPY_AND_ASSIGN(LocalExtensionCache);
205 }; 205 };
206 206
207 } // namespace extensions 207 } // namespace extensions
208 208
209 #endif // CHROME_BROWSER_EXTENSIONS_UPDATER_LOCAL_EXTENSION_CACHE_H_ 209 #endif // CHROME_BROWSER_EXTENSIONS_UPDATER_LOCAL_EXTENSION_CACHE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/updater/local_extension_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698