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

Side by Side Diff: chrome/browser/appcache/appcache_dispatcher_host.h

Issue 3814013: FBTF: Monster ctor patch after changing heuristics in clang plugin. (Closed) Base URL: http://git.chromium.org/git/chromium.git
Patch Set: More add file fail Created 10 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « app/multi_animation.cc ('k') | chrome/browser/appcache/appcache_dispatcher_host.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 (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_APPCACHE_APPCACHE_DISPATCHER_HOST_H_ 5 #ifndef CHROME_BROWSER_APPCACHE_APPCACHE_DISPATCHER_HOST_H_
6 #define CHROME_BROWSER_APPCACHE_APPCACHE_DISPATCHER_HOST_H_ 6 #define CHROME_BROWSER_APPCACHE_APPCACHE_DISPATCHER_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 16 matching lines...) Expand all
27 class AppCacheDispatcherHost { 27 class AppCacheDispatcherHost {
28 public: 28 public:
29 // Constructor for use on the IO thread. 29 // Constructor for use on the IO thread.
30 explicit AppCacheDispatcherHost( 30 explicit AppCacheDispatcherHost(
31 URLRequestContext* request_context); 31 URLRequestContext* request_context);
32 32
33 // Constructor for use on the UI thread. 33 // Constructor for use on the UI thread.
34 explicit AppCacheDispatcherHost( 34 explicit AppCacheDispatcherHost(
35 URLRequestContextGetter* request_context_getter); 35 URLRequestContextGetter* request_context_getter);
36 36
37 ~AppCacheDispatcherHost();
38
37 void Initialize(ResourceDispatcherHost::Receiver* receiver); 39 void Initialize(ResourceDispatcherHost::Receiver* receiver);
38 bool OnMessageReceived(const IPC::Message& msg, bool* msg_is_ok); 40 bool OnMessageReceived(const IPC::Message& msg, bool* msg_is_ok);
39 41
40 int process_id() const { return backend_impl_.process_id(); } 42 int process_id() const { return backend_impl_.process_id(); }
41 43
42 // Note: needed to satisfy ipc message dispatching macros. 44 // Note: needed to satisfy ipc message dispatching macros.
43 bool Send(IPC::Message* msg) { 45 bool Send(IPC::Message* msg) {
44 return frontend_proxy_.sender()->Send(msg); 46 return frontend_proxy_.sender()->Send(msg);
45 } 47 }
46 48
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 scoped_ptr<appcache::StartUpdateCallback> start_update_callback_; 85 scoped_ptr<appcache::StartUpdateCallback> start_update_callback_;
84 scoped_ptr<appcache::SwapCacheCallback> swap_cache_callback_; 86 scoped_ptr<appcache::SwapCacheCallback> swap_cache_callback_;
85 scoped_ptr<IPC::Message> pending_reply_msg_; 87 scoped_ptr<IPC::Message> pending_reply_msg_;
86 88
87 ResourceDispatcherHost::Receiver* receiver_; 89 ResourceDispatcherHost::Receiver* receiver_;
88 90
89 DISALLOW_COPY_AND_ASSIGN(AppCacheDispatcherHost); 91 DISALLOW_COPY_AND_ASSIGN(AppCacheDispatcherHost);
90 }; 92 };
91 93
92 #endif // CHROME_BROWSER_APPCACHE_APPCACHE_DISPATCHER_HOST_H_ 94 #endif // CHROME_BROWSER_APPCACHE_APPCACHE_DISPATCHER_HOST_H_
OLDNEW
« no previous file with comments | « app/multi_animation.cc ('k') | chrome/browser/appcache/appcache_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698