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

Side by Side Diff: webkit/appcache/appcache_frontend_impl.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
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | webkit/appcache/appcache_frontend_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 WEBKIT_APPCACHE_APPCACHE_FRONTEND_IMPL_H_ 5 #ifndef WEBKIT_APPCACHE_APPCACHE_FRONTEND_IMPL_H_
6 #define WEBKIT_APPCACHE_APPCACHE_FRONTEND_IMPL_H_ 6 #define WEBKIT_APPCACHE_APPCACHE_FRONTEND_IMPL_H_
7 7
8 #include <vector> 8 #include <vector>
9 #include "webkit/appcache/appcache_interfaces.h" 9 #include "webkit/appcache/appcache_interfaces.h"
10 10
11 namespace appcache { 11 namespace appcache {
12 12
13 class AppCacheFrontendImpl : public AppCacheFrontend { 13 class AppCacheFrontendImpl : public AppCacheFrontend {
14 public: 14 public:
15 virtual void OnCacheSelected(int host_id, int64 cache_id, 15 virtual void OnCacheSelected(int host_id, int64 cache_id,
16 Status status); 16 Status status);
17 virtual void OnStatusChanged(const std::vector<int>& host_ids, 17 virtual void OnStatusChanged(const std::vector<int>& host_ids,
18 Status status); 18 Status status);
19 virtual void OnEventRaised(const std::vector<int>& host_ids, 19 virtual void OnEventRaised(const std::vector<int>& host_ids,
20 EventID event_id); 20 EventID event_id);
21 virtual void OnProgressEventRaised(const std::vector<int>& host_ids, 21 virtual void OnProgressEventRaised(const std::vector<int>& host_ids,
22 const GURL& url, 22 const GURL& url,
23 int num_total, int num_complete); 23 int num_total, int num_complete);
24 virtual void OnErrorEventRaised(const std::vector<int>& host_ids,
25 const std::string& message);
24 virtual void OnLogMessage(int host_id, LogLevel log_level, 26 virtual void OnLogMessage(int host_id, LogLevel log_level,
25 const std::string& message); 27 const std::string& message);
26 virtual void OnContentBlocked(int host_id, const GURL& manifest_url); 28 virtual void OnContentBlocked(int host_id, const GURL& manifest_url);
27 }; 29 };
28 30
29 } // namespace 31 } // namespace
30 32
31 #endif // WEBKIT_APPCACHE_APPCACHE_FRONTEND_IMPL_H_ 33 #endif // WEBKIT_APPCACHE_APPCACHE_FRONTEND_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | webkit/appcache/appcache_frontend_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698