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

Side by Side Diff: chrome/browser/ui/webui/chrome_url_data_manager.cc

Issue 11275088: Remove implicit scoped_refptr operator T* Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 8 years, 1 month 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
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 "chrome/browser/ui/webui/chrome_url_data_manager.h" 5 #include "chrome/browser/ui/webui/chrome_url_data_manager.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/i18n/rtl.h" 10 #include "base/i18n/rtl.h"
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 l10n_util::GetStringUTF8(web_font_size_id)); 193 l10n_util::GetStringUTF8(web_font_size_id));
194 localized_strings->SetString("textdirection", 194 localized_strings->SetString("textdirection",
195 base::i18n::IsRTL() ? "rtl" : "ltr"); 195 base::i18n::IsRTL() ? "rtl" : "ltr");
196 } 196 }
197 197
198 void ChromeURLDataManager::DataSource::SendResponseOnIOThread( 198 void ChromeURLDataManager::DataSource::SendResponseOnIOThread(
199 int request_id, 199 int request_id,
200 scoped_refptr<base::RefCountedMemory> bytes) { 200 scoped_refptr<base::RefCountedMemory> bytes) {
201 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); 201 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
202 if (backend_) 202 if (backend_)
203 backend_->DataAvailable(request_id, bytes); 203 backend_->DataAvailable(request_id, bytes.get());
204 } 204 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/bidi_checker_web_ui_test.cc ('k') | chrome/browser/ui/webui/devtools_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698