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

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

Issue 2910007: Report an error message when an update job results in an error. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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 OnErrorEventRaised(const std::vector<int>& host_ids,
37 const std::string& message);
36 void OnLogMessage(int host_id, int log_level, const std::string& message); 38 void OnLogMessage(int host_id, int log_level, const std::string& message);
37 void OnContentBlocked(int host_id, 39 void OnContentBlocked(int host_id,
38 const GURL& manifest_url); 40 const GURL& manifest_url);
39 41
40 AppCacheBackendProxy backend_proxy_; 42 AppCacheBackendProxy backend_proxy_;
41 appcache::AppCacheFrontendImpl frontend_impl_; 43 appcache::AppCacheFrontendImpl frontend_impl_;
42 }; 44 };
43 45
44 #endif // CHROME_COMMON_APPCACHE_APPCACHE_DISPATCHER_H_ 46 #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