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

Side by Side Diff: extensions/renderer/dispatcher.h

Issue 1355063004: Template methods on Timer classes instead of the classes themselves. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: timer: fixcaller Created 5 years, 3 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 | « extensions/browser/quota_service.h ('k') | extensions/renderer/dispatcher.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 EXTENSIONS_RENDERER_DISPATCHER_H_ 5 #ifndef EXTENSIONS_RENDERER_DISPATCHER_H_
6 #define EXTENSIONS_RENDERER_DISPATCHER_H_ 6 #define EXTENSIONS_RENDERER_DISPATCHER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 scoped_ptr<ScriptContextSet> script_context_set_; 264 scoped_ptr<ScriptContextSet> script_context_set_;
265 265
266 scoped_ptr<ContentWatcher> content_watcher_; 266 scoped_ptr<ContentWatcher> content_watcher_;
267 267
268 scoped_ptr<UserScriptSetManager> user_script_set_manager_; 268 scoped_ptr<UserScriptSetManager> user_script_set_manager_;
269 269
270 scoped_ptr<ScriptInjectionManager> script_injection_manager_; 270 scoped_ptr<ScriptInjectionManager> script_injection_manager_;
271 271
272 // Same as above, but on a longer timer and will run even if the process is 272 // Same as above, but on a longer timer and will run even if the process is
273 // not idle, to ensure that IdleHandle gets called eventually. 273 // not idle, to ensure that IdleHandle gets called eventually.
274 scoped_ptr<base::RepeatingTimer<content::RenderThread> > forced_idle_timer_; 274 scoped_ptr<base::RepeatingTimer> forced_idle_timer_;
275 275
276 // The extensions and apps that are active in this process. 276 // The extensions and apps that are active in this process.
277 ExtensionIdSet active_extension_ids_; 277 ExtensionIdSet active_extension_ids_;
278 278
279 ResourceBundleSourceMap source_map_; 279 ResourceBundleSourceMap source_map_;
280 280
281 // Cache for the v8 representation of extension API schemas. 281 // Cache for the v8 representation of extension API schemas.
282 scoped_ptr<V8SchemaRegistry> v8_schema_registry_; 282 scoped_ptr<V8SchemaRegistry> v8_schema_registry_;
283 283
284 // Sends API requests to the extension host. 284 // Sends API requests to the extension host.
(...skipping 21 matching lines...) Expand all
306 // if this renderer is a WebView guest render process. Otherwise, this will be 306 // if this renderer is a WebView guest render process. Otherwise, this will be
307 // empty. 307 // empty.
308 std::string webview_partition_id_; 308 std::string webview_partition_id_;
309 309
310 DISALLOW_COPY_AND_ASSIGN(Dispatcher); 310 DISALLOW_COPY_AND_ASSIGN(Dispatcher);
311 }; 311 };
312 312
313 } // namespace extensions 313 } // namespace extensions
314 314
315 #endif // EXTENSIONS_RENDERER_DISPATCHER_H_ 315 #endif // EXTENSIONS_RENDERER_DISPATCHER_H_
OLDNEW
« no previous file with comments | « extensions/browser/quota_service.h ('k') | extensions/renderer/dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698