OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 NET_URL_REQUEST_VIEW_CACHE_HELPER_H_ | 5 #ifndef NET_URL_REQUEST_VIEW_CACHE_HELPER_H_ |
6 #define NET_URL_REQUEST_VIEW_CACHE_HELPER_H_ | 6 #define NET_URL_REQUEST_VIEW_CACHE_HELPER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 int buf_len_; | 107 int buf_len_; |
108 int index_; | 108 int index_; |
109 | 109 |
110 std::string key_; | 110 std::string key_; |
111 std::string url_prefix_; | 111 std::string url_prefix_; |
112 std::string* data_; | 112 std::string* data_; |
113 CompletionCallback callback_; | 113 CompletionCallback callback_; |
114 | 114 |
115 State next_state_; | 115 State next_state_; |
116 | 116 |
117 CompletionCallback cache_callback_; | 117 OldCompletionCallbackImpl<ViewCacheHelper> cache_callback_; |
118 OldCompletionCallbackImpl<ViewCacheHelper> old_cache_callback_; | |
119 scoped_refptr<CancelableOldCompletionCallback<ViewCacheHelper> > entry_callbac
k_; | 118 scoped_refptr<CancelableOldCompletionCallback<ViewCacheHelper> > entry_callbac
k_; |
120 | 119 |
121 DISALLOW_COPY_AND_ASSIGN(ViewCacheHelper); | 120 DISALLOW_COPY_AND_ASSIGN(ViewCacheHelper); |
122 }; | 121 }; |
123 | 122 |
124 } // namespace net. | 123 } // namespace net. |
125 | 124 |
126 #endif // NET_URL_REQUEST_VIEW_CACHE_HELPER_H_ | 125 #endif // NET_URL_REQUEST_VIEW_CACHE_HELPER_H_ |
OLD | NEW |