OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |