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

Side by Side Diff: content/common/appcache/appcache_backend_proxy.h

Issue 6691002: Move AppCache common code to content and split off AppCache messages into the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 9 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_COMMON_APPCACHE_APPCACHE_BACKEND_PROXY_H_ 5 #ifndef CONTENT_COMMON_APPCACHE_APPCACHE_BACKEND_PROXY_H_
6 #define CHROME_COMMON_APPCACHE_APPCACHE_BACKEND_PROXY_H_ 6 #define CONTENT_COMMON_APPCACHE_APPCACHE_BACKEND_PROXY_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ipc/ipc_message.h" 9 #include "ipc/ipc_message.h"
10 #include "webkit/appcache/appcache_interfaces.h" 10 #include "webkit/appcache/appcache_interfaces.h"
11 11
12 // Sends appcache related messages to the main process. 12 // Sends appcache related messages to the main process.
13 class AppCacheBackendProxy : public appcache::AppCacheBackend { 13 class AppCacheBackendProxy : public appcache::AppCacheBackend {
14 public: 14 public:
15 explicit AppCacheBackendProxy(IPC::Message::Sender* sender) 15 explicit AppCacheBackendProxy(IPC::Message::Sender* sender)
16 : sender_(sender) {} 16 : sender_(sender) {}
(...skipping 20 matching lines...) Expand all
37 virtual bool StartUpdate(int host_id); 37 virtual bool StartUpdate(int host_id);
38 virtual bool SwapCache(int host_id); 38 virtual bool SwapCache(int host_id);
39 virtual void GetResourceList( 39 virtual void GetResourceList(
40 int host_id, 40 int host_id,
41 std::vector<appcache::AppCacheResourceInfo>* resource_infos); 41 std::vector<appcache::AppCacheResourceInfo>* resource_infos);
42 42
43 private: 43 private:
44 IPC::Message::Sender* sender_; 44 IPC::Message::Sender* sender_;
45 }; 45 };
46 46
47 #endif // CHROME_COMMON_APPCACHE_APPCACHE_BACKEND_PROXY_H_ 47 #endif // CONTENT_COMMON_APPCACHE_APPCACHE_BACKEND_PROXY_H_
OLDNEW
« no previous file with comments | « content/browser/appcache/appcache_frontend_proxy.cc ('k') | content/common/appcache/appcache_backend_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698