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

Side by Side Diff: webkit/appcache/appcache_frontend_impl.h

Issue 3009005: Chrome side of changes required to populate appcache resource list.... (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 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 <string>
8 #include <vector> 9 #include <vector>
9 #include "webkit/appcache/appcache_interfaces.h" 10 #include "webkit/appcache/appcache_interfaces.h"
10 11
11 namespace appcache { 12 namespace appcache {
12 13
13 class AppCacheFrontendImpl : public AppCacheFrontend { 14 class AppCacheFrontendImpl : public AppCacheFrontend {
14 public: 15 public:
15 virtual void OnCacheSelected(int host_id, int64 cache_id, 16 virtual void OnCacheSelected(
16 Status status); 17 int host_id, const appcache::AppCacheInfo& info);
17 virtual void OnStatusChanged(const std::vector<int>& host_ids, 18 virtual void OnStatusChanged(const std::vector<int>& host_ids,
18 Status status); 19 Status status);
19 virtual void OnEventRaised(const std::vector<int>& host_ids, 20 virtual void OnEventRaised(const std::vector<int>& host_ids,
20 EventID event_id); 21 EventID event_id);
21 virtual void OnProgressEventRaised(const std::vector<int>& host_ids, 22 virtual void OnProgressEventRaised(const std::vector<int>& host_ids,
22 const GURL& url, 23 const GURL& url,
23 int num_total, int num_complete); 24 int num_total, int num_complete);
24 virtual void OnErrorEventRaised(const std::vector<int>& host_ids, 25 virtual void OnErrorEventRaised(const std::vector<int>& host_ids,
25 const std::string& message); 26 const std::string& message);
26 virtual void OnLogMessage(int host_id, LogLevel log_level, 27 virtual void OnLogMessage(int host_id, LogLevel log_level,
27 const std::string& message); 28 const std::string& message);
28 virtual void OnContentBlocked(int host_id, const GURL& manifest_url); 29 virtual void OnContentBlocked(int host_id, const GURL& manifest_url);
29 }; 30 };
30 31
31 } // namespace 32 } // namespace
32 33
33 #endif // WEBKIT_APPCACHE_APPCACHE_FRONTEND_IMPL_H_ 34 #endif // WEBKIT_APPCACHE_APPCACHE_FRONTEND_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698