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

Side by Side Diff: android_webview/browser/net/android_stream_reader_url_request_job.h

Issue 509453002: android_webview : Class member variable WeakPtrFactory in proper order. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 3 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
« no previous file with comments | « no previous file | android_webview/browser/shared_renderer_state.h » ('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) 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 #ifndef ANDROID_WEBVIEW_NATIVE_ANDROID_STREAM_READER_URL_REQUEST_JOB_H_ 5 #ifndef ANDROID_WEBVIEW_NATIVE_ANDROID_STREAM_READER_URL_REQUEST_JOB_H_
6 #define ANDROID_WEBVIEW_NATIVE_ANDROID_STREAM_READER_URL_REQUEST_JOB_H_ 6 #define ANDROID_WEBVIEW_NATIVE_ANDROID_STREAM_READER_URL_REQUEST_JOB_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/android/scoped_java_ref.h" 10 #include "base/android/scoped_java_ref.h"
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 void OnInputStreamOpened( 109 void OnInputStreamOpened(
110 scoped_ptr<Delegate> delegate, 110 scoped_ptr<Delegate> delegate,
111 scoped_ptr<android_webview::InputStream> input_stream); 111 scoped_ptr<android_webview::InputStream> input_stream);
112 void OnReaderSeekCompleted(int content_size); 112 void OnReaderSeekCompleted(int content_size);
113 void OnReaderReadCompleted(int bytes_read); 113 void OnReaderReadCompleted(int bytes_read);
114 114
115 net::HttpByteRange byte_range_; 115 net::HttpByteRange byte_range_;
116 scoped_ptr<net::HttpResponseInfo> response_info_; 116 scoped_ptr<net::HttpResponseInfo> response_info_;
117 scoped_ptr<Delegate> delegate_; 117 scoped_ptr<Delegate> delegate_;
118 scoped_refptr<InputStreamReaderWrapper> input_stream_reader_wrapper_; 118 scoped_refptr<InputStreamReaderWrapper> input_stream_reader_wrapper_;
119 base::ThreadChecker thread_checker_;
120
119 base::WeakPtrFactory<AndroidStreamReaderURLRequestJob> weak_factory_; 121 base::WeakPtrFactory<AndroidStreamReaderURLRequestJob> weak_factory_;
120 base::ThreadChecker thread_checker_;
121 122
122 DISALLOW_COPY_AND_ASSIGN(AndroidStreamReaderURLRequestJob); 123 DISALLOW_COPY_AND_ASSIGN(AndroidStreamReaderURLRequestJob);
123 }; 124 };
124 125
125 #endif // ANDROID_WEBVIEW_NATIVE_ANDROID_STREAM_READER_URL_REQUEST_JOB_H_ 126 #endif // ANDROID_WEBVIEW_NATIVE_ANDROID_STREAM_READER_URL_REQUEST_JOB_H_
OLDNEW
« no previous file with comments | « no previous file | android_webview/browser/shared_renderer_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698