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

Side by Side Diff: content/child/appcache/appcache_dispatcher.h

Issue 22410007: Move appcache_frontend_impl.* to content/renderer/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 4 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_CHILD_APPCACHE_DISPATCHER_H_ 5 #ifndef CONTENT_CHILD_APPCACHE_APPCACHE_DISPATCHER_H_
6 #define CONTENT_CHILD_APPCACHE_DISPATCHER_H_ 6 #define CONTENT_CHILD_APPCACHE_APPCACHE_DISPATCHER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "content/child/appcache_backend_proxy.h" 12 #include "content/child/appcache/appcache_backend_proxy.h"
13 #include "ipc/ipc_listener.h" 13 #include "ipc/ipc_listener.h"
14 #include "webkit/common/appcache/appcache_interfaces.h" 14 #include "webkit/common/appcache/appcache_interfaces.h"
15 15
16 namespace content { 16 namespace content {
17 17
18 // Dispatches appcache related messages sent to a child process from the 18 // Dispatches appcache related messages sent to a child process from the
19 // main browser process. There is one instance per child process. Messages 19 // main browser process. There is one instance per child process. Messages
20 // are dispatched on the main child thread. The ChildThread base class 20 // are dispatched on the main child thread. The ChildThread base class
21 // creates an instance and delegates calls to it. 21 // creates an instance and delegates calls to it.
22 class AppCacheDispatcher : public IPC::Listener { 22 class AppCacheDispatcher : public IPC::Listener {
(...skipping 20 matching lines...) Expand all
43 const std::string& message); 43 const std::string& message);
44 void OnLogMessage(int host_id, int log_level, const std::string& message); 44 void OnLogMessage(int host_id, int log_level, const std::string& message);
45 void OnContentBlocked(int host_id, const GURL& manifest_url); 45 void OnContentBlocked(int host_id, const GURL& manifest_url);
46 46
47 AppCacheBackendProxy backend_proxy_; 47 AppCacheBackendProxy backend_proxy_;
48 scoped_ptr<appcache::AppCacheFrontend> frontend_; 48 scoped_ptr<appcache::AppCacheFrontend> frontend_;
49 }; 49 };
50 50
51 } // namespace content 51 } // namespace content
52 52
53 #endif // CONTENT_CHILD_APPCACHE_DISPATCHER_H_ 53 #endif // CONTENT_CHILD_APPCACHE_APPCACHE_DISPATCHER_H_
OLDNEW
« no previous file with comments | « content/child/appcache/appcache_backend_proxy.cc ('k') | content/child/appcache/appcache_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698