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

Side by Side Diff: webkit/browser/appcache/appcache_request_handler_unittest.cc

Issue 164933002: Expose details for appcache error events [Chromium] (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix merge glitch, complete a rename Created 6 years, 8 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include <stack> 5 #include <stack>
6 #include <string> 6 #include <string>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
(...skipping 26 matching lines...) Expand all
37 virtual void OnCacheSelected( 37 virtual void OnCacheSelected(
38 int host_id, const appcache::AppCacheInfo& info) OVERRIDE {} 38 int host_id, const appcache::AppCacheInfo& info) OVERRIDE {}
39 39
40 virtual void OnStatusChanged(const std::vector<int>& host_ids, 40 virtual void OnStatusChanged(const std::vector<int>& host_ids,
41 appcache::Status status) OVERRIDE {} 41 appcache::Status status) OVERRIDE {}
42 42
43 virtual void OnEventRaised(const std::vector<int>& host_ids, 43 virtual void OnEventRaised(const std::vector<int>& host_ids,
44 appcache::EventID event_id) OVERRIDE {} 44 appcache::EventID event_id) OVERRIDE {}
45 45
46 virtual void OnErrorEventRaised(const std::vector<int>& host_ids, 46 virtual void OnErrorEventRaised(const std::vector<int>& host_ids,
47 const std::string& message) OVERRIDE {} 47 const appcache::ErrorDetails& details)
48 OVERRIDE {}
48 49
49 virtual void OnProgressEventRaised(const std::vector<int>& host_ids, 50 virtual void OnProgressEventRaised(const std::vector<int>& host_ids,
50 const GURL& url, 51 const GURL& url,
51 int num_total, 52 int num_total,
52 int num_complete) OVERRIDE { 53 int num_complete) OVERRIDE {
53 } 54 }
54 55
55 virtual void OnLogMessage(int host_id, 56 virtual void OnLogMessage(int host_id,
56 appcache::LogLevel log_level, 57 appcache::LogLevel log_level,
57 const std::string& message) OVERRIDE { 58 const std::string& message) OVERRIDE {
(...skipping 906 matching lines...) Expand 10 before | Expand all | Expand 10 after
964 965
965 TEST_F(AppCacheRequestHandlerTest, WorkerRequest) { 966 TEST_F(AppCacheRequestHandlerTest, WorkerRequest) {
966 RunTestOnIOThread(&AppCacheRequestHandlerTest::WorkerRequest); 967 RunTestOnIOThread(&AppCacheRequestHandlerTest::WorkerRequest);
967 } 968 }
968 969
969 TEST_F(AppCacheRequestHandlerTest, MainResource_Blocked) { 970 TEST_F(AppCacheRequestHandlerTest, MainResource_Blocked) {
970 RunTestOnIOThread(&AppCacheRequestHandlerTest::MainResource_Blocked); 971 RunTestOnIOThread(&AppCacheRequestHandlerTest::MainResource_Blocked);
971 } 972 }
972 973
973 } // namespace appcache 974 } // namespace appcache
OLDNEW
« no previous file with comments | « webkit/browser/appcache/appcache_host_unittest.cc ('k') | webkit/browser/appcache/appcache_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698