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

Side by Side Diff: chrome/common/appcache/appcache_dispatcher.h

Issue 2861007: AppCache: add plumbing to deliver logging messages to renderer process. These... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_DISPATCHER_H_ 5 #ifndef CHROME_COMMON_APPCACHE_APPCACHE_DISPATCHER_H_
6 #define CHROME_COMMON_APPCACHE_APPCACHE_DISPATCHER_H_ 6 #define CHROME_COMMON_APPCACHE_APPCACHE_DISPATCHER_H_
7 7
8 #include <vector> 8 #include <vector>
9 #include "chrome/common/appcache/appcache_backend_proxy.h" 9 #include "chrome/common/appcache/appcache_backend_proxy.h"
10 #include "ipc/ipc_message.h" 10 #include "ipc/ipc_message.h"
(...skipping 15 matching lines...) Expand all
26 private: 26 private:
27 // Ipc message handlers 27 // Ipc message handlers
28 void OnCacheSelected(int host_id, int64 cache_id, 28 void OnCacheSelected(int host_id, int64 cache_id,
29 appcache::Status status); 29 appcache::Status status);
30 void OnStatusChanged(const std::vector<int>& host_ids, 30 void OnStatusChanged(const std::vector<int>& host_ids,
31 appcache::Status status); 31 appcache::Status status);
32 void OnEventRaised(const std::vector<int>& host_ids, 32 void OnEventRaised(const std::vector<int>& host_ids,
33 appcache::EventID event_id); 33 appcache::EventID event_id);
34 void OnProgressEventRaised(const std::vector<int>& host_ids, 34 void OnProgressEventRaised(const std::vector<int>& host_ids,
35 const GURL& url, int num_total, int num_complete); 35 const GURL& url, int num_total, int num_complete);
36 void OnLogMessage(int host_id, int log_level, const std::string& message);
36 void OnContentBlocked(int host_id); 37 void OnContentBlocked(int host_id);
37 38
38 AppCacheBackendProxy backend_proxy_; 39 AppCacheBackendProxy backend_proxy_;
39 appcache::AppCacheFrontendImpl frontend_impl_; 40 appcache::AppCacheFrontendImpl frontend_impl_;
40 }; 41 };
41 42
42 #endif // CHROME_COMMON_APPCACHE_APPCACHE_DISPATCHER_H_ 43 #endif // CHROME_COMMON_APPCACHE_APPCACHE_DISPATCHER_H_
OLDNEW
« no previous file with comments | « chrome/browser/appcache/appcache_frontend_proxy.cc ('k') | chrome/common/appcache/appcache_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698