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

Side by Side Diff: chrome/browser/chromeos/drive/drive_protocol_handler.cc

Issue 16998003: Update CrOS to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 6 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 | Annotate | Revision Log
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/chromeos/drive/drive_protocol_handler.h" 5 #include "chrome/browser/chromeos/drive/drive_protocol_handler.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/threading/sequenced_worker_pool.h" 8 #include "base/threading/sequenced_worker_pool.h"
9 #include "chrome/browser/browser_process.h" 9 #include "chrome/browser/browser_process.h"
10 #include "chrome/browser/chromeos/drive/drive_integration_service.h" 10 #include "chrome/browser/chromeos/drive/drive_integration_service.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 blocking_pool->GetSequencedTaskRunner(blocking_pool->GetSequenceToken()); 45 blocking_pool->GetSequencedTaskRunner(blocking_pool->GetSequenceToken());
46 } 46 }
47 47
48 DriveProtocolHandler::~DriveProtocolHandler() { 48 DriveProtocolHandler::~DriveProtocolHandler() {
49 } 49 }
50 50
51 net::URLRequestJob* DriveProtocolHandler::MaybeCreateJob( 51 net::URLRequestJob* DriveProtocolHandler::MaybeCreateJob(
52 net::URLRequest* request, net::NetworkDelegate* network_delegate) const { 52 net::URLRequest* request, net::NetworkDelegate* network_delegate) const {
53 DVLOG(1) << "Handling url: " << request->url().spec(); 53 DVLOG(1) << "Handling url: " << request->url().spec();
54 return new DriveURLRequestJob(base::Bind(&GetFileSystem, profile_id_), 54 return new DriveURLRequestJob(base::Bind(&GetFileSystem, profile_id_),
55 blocking_task_runner_, 55 blocking_task_runner_.get(),
56 request, 56 request,
57 network_delegate); 57 network_delegate);
58 } 58 }
59 59
60 } // namespace drive 60 } // namespace drive
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/drive/drive_integration_service.cc ('k') | chrome/browser/chromeos/drive/drive_url_request_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698