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

Side by Side Diff: net/url_request/view_cache_helper.h

Issue 8832006: Reverts a commit that caused ASAN failures, and 2 dependent commits. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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
« no previous file with comments | « net/http/mock_http_cache.cc ('k') | net/url_request/view_cache_helper.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « net/http/mock_http_cache.cc ('k') | net/url_request/view_cache_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698