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

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

Issue 330053004: Rename some appcache types in preparation for moving to content namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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_BROWSER_APPCACHE_APPCACHE_DISPATCHER_HOST_H_ 5 #ifndef CONTENT_BROWSER_APPCACHE_APPCACHE_DISPATCHER_HOST_H_
6 #define CONTENT_BROWSER_APPCACHE_APPCACHE_DISPATCHER_HOST_H_ 6 #define CONTENT_BROWSER_APPCACHE_APPCACHE_DISPATCHER_HOST_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 int parent_host_id); 48 int parent_host_id);
49 void OnSelectCacheForSharedWorker(int host_id, int64 appcache_id); 49 void OnSelectCacheForSharedWorker(int host_id, int64 appcache_id);
50 void OnMarkAsForeignEntry(int host_id, const GURL& document_url, 50 void OnMarkAsForeignEntry(int host_id, const GURL& document_url,
51 int64 cache_document_was_loaded_from); 51 int64 cache_document_was_loaded_from);
52 void OnGetStatus(int host_id, IPC::Message* reply_msg); 52 void OnGetStatus(int host_id, IPC::Message* reply_msg);
53 void OnStartUpdate(int host_id, IPC::Message* reply_msg); 53 void OnStartUpdate(int host_id, IPC::Message* reply_msg);
54 void OnSwapCache(int host_id, IPC::Message* reply_msg); 54 void OnSwapCache(int host_id, IPC::Message* reply_msg);
55 void OnGetResourceList( 55 void OnGetResourceList(
56 int host_id, 56 int host_id,
57 std::vector<appcache::AppCacheResourceInfo>* resource_infos); 57 std::vector<appcache::AppCacheResourceInfo>* resource_infos);
58 void GetStatusCallback(appcache::Status status, void* param); 58 void GetStatusCallback(appcache::AppCacheStatus status, void* param);
59 void StartUpdateCallback(bool result, void* param); 59 void StartUpdateCallback(bool result, void* param);
60 void SwapCacheCallback(bool result, void* param); 60 void SwapCacheCallback(bool result, void* param);
61 61
62 62
63 scoped_refptr<ChromeAppCacheService> appcache_service_; 63 scoped_refptr<ChromeAppCacheService> appcache_service_;
64 AppCacheFrontendProxy frontend_proxy_; 64 AppCacheFrontendProxy frontend_proxy_;
65 appcache::AppCacheBackendImpl backend_impl_; 65 appcache::AppCacheBackendImpl backend_impl_;
66 66
67 appcache::GetStatusCallback get_status_callback_; 67 appcache::GetStatusCallback get_status_callback_;
68 appcache::StartUpdateCallback start_update_callback_; 68 appcache::StartUpdateCallback start_update_callback_;
69 appcache::SwapCacheCallback swap_cache_callback_; 69 appcache::SwapCacheCallback swap_cache_callback_;
70 scoped_ptr<IPC::Message> pending_reply_msg_; 70 scoped_ptr<IPC::Message> pending_reply_msg_;
71 71
72 // The corresponding ChildProcessHost object's id(). 72 // The corresponding ChildProcessHost object's id().
73 int process_id_; 73 int process_id_;
74 74
75 DISALLOW_COPY_AND_ASSIGN(AppCacheDispatcherHost); 75 DISALLOW_COPY_AND_ASSIGN(AppCacheDispatcherHost);
76 }; 76 };
77 77
78 } // namespace content 78 } // namespace content
79 79
80 #endif // CONTENT_BROWSER_APPCACHE_APPCACHE_DISPATCHER_HOST_H_ 80 #endif // CONTENT_BROWSER_APPCACHE_APPCACHE_DISPATCHER_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/appcache/appcache_dispatcher_host.cc » ('j') | webkit/common/appcache/appcache_interfaces.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698