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

Side by Side Diff: webkit/appcache/web_application_cache_host_impl.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 WEBKIT_APPCACHE_WEB_APPLICATION_CACHE_HOST_IMPL_H_ 5 #ifndef WEBKIT_APPCACHE_WEB_APPLICATION_CACHE_HOST_IMPL_H_
6 #define WEBKIT_APPCACHE_WEB_APPLICATION_CACHE_HOST_IMPL_H_ 6 #define WEBKIT_APPCACHE_WEB_APPLICATION_CACHE_HOST_IMPL_H_
7 7
8 #include "googleurl/src/gurl.h" 8 #include "googleurl/src/gurl.h"
9 #include "third_party/WebKit/WebKit/chromium/public/WebApplicationCacheHostClien t.h" 9 #include "third_party/WebKit/WebKit/chromium/public/WebApplicationCacheHostClien t.h"
10 #include "third_party/WebKit/WebKit/chromium/public/WebURLResponse.h" 10 #include "third_party/WebKit/WebKit/chromium/public/WebURLResponse.h"
(...skipping 18 matching lines...) Expand all
29 virtual ~WebApplicationCacheHostImpl(); 29 virtual ~WebApplicationCacheHostImpl();
30 30
31 int host_id() const { return host_id_; } 31 int host_id() const { return host_id_; }
32 AppCacheBackend* backend() const { return backend_; } 32 AppCacheBackend* backend() const { return backend_; }
33 WebKit::WebApplicationCacheHostClient* client() const { return client_; } 33 WebKit::WebApplicationCacheHostClient* client() const { return client_; }
34 34
35 void OnCacheSelected(int64 selected_cache_id, appcache::Status status); 35 void OnCacheSelected(int64 selected_cache_id, appcache::Status status);
36 void OnStatusChanged(appcache::Status); 36 void OnStatusChanged(appcache::Status);
37 void OnEventRaised(appcache::EventID); 37 void OnEventRaised(appcache::EventID);
38 void OnProgressEventRaised(const GURL& url, int num_total, int num_complete); 38 void OnProgressEventRaised(const GURL& url, int num_total, int num_complete);
39 void OnLogMessage(LogLevel log_level, const std::string& message);
39 virtual void OnContentBlocked() {} 40 virtual void OnContentBlocked() {}
40 41
41 // WebApplicationCacheHost methods 42 // WebApplicationCacheHost methods
42 virtual void willStartMainResourceRequest(WebKit::WebURLRequest&); 43 virtual void willStartMainResourceRequest(WebKit::WebURLRequest&);
43 virtual void willStartSubResourceRequest(WebKit::WebURLRequest&); 44 virtual void willStartSubResourceRequest(WebKit::WebURLRequest&);
44 virtual void selectCacheWithoutManifest(); 45 virtual void selectCacheWithoutManifest();
45 virtual bool selectCacheWithManifest(const WebKit::WebURL& manifestURL); 46 virtual bool selectCacheWithManifest(const WebKit::WebURL& manifestURL);
46 virtual void didReceiveResponseForMainResource(const WebKit::WebURLResponse&); 47 virtual void didReceiveResponseForMainResource(const WebKit::WebURLResponse&);
47 virtual void didReceiveDataForMainResource(const char* data, int len); 48 virtual void didReceiveDataForMainResource(const char* data, int len);
48 virtual void didFinishLoadingMainResource(bool success); 49 virtual void didFinishLoadingMainResource(bool success);
(...skipping 18 matching lines...) Expand all
67 WebKit::WebURLResponse document_response_; 68 WebKit::WebURLResponse document_response_;
68 GURL document_url_; 69 GURL document_url_;
69 bool is_scheme_supported_; 70 bool is_scheme_supported_;
70 bool is_get_method_; 71 bool is_get_method_;
71 IsNewMasterEntry is_new_master_entry_; 72 IsNewMasterEntry is_new_master_entry_;
72 }; 73 };
73 74
74 } // namespace 75 } // namespace
75 76
76 #endif // WEBKIT_APPCACHE_WEB_APPLICATION_CACHE_HOST_IMPL_H_ 77 #endif // WEBKIT_APPCACHE_WEB_APPLICATION_CACHE_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/appcache/appcache_update_job_unittest.cc ('k') | webkit/appcache/web_application_cache_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698