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

Side by Side Diff: net/disk_cache/in_flight_backend_io.cc

Issue 4291001: Convert implicit scoped_refptr constructor calls to explicit ones, part 2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/build
Patch Set: comments Created 10 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 | Annotate | Revision Log
« no previous file with comments | « net/disk_cache/file_posix.cc ('k') | net/disk_cache/in_flight_io.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "net/disk_cache/in_flight_backend_io.h" 5 #include "net/disk_cache/in_flight_backend_io.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "net/base/net_errors.h" 9 #include "net/base/net_errors.h"
10 #include "net/disk_cache/backend_impl.h" 10 #include "net/disk_cache/backend_impl.h"
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 scoped_refptr<BackendIO> next_op = from_list->front(); 506 scoped_refptr<BackendIO> next_op = from_list->front();
507 from_list->pop_front(); 507 from_list->pop_front();
508 PostOperation(next_op); 508 PostOperation(next_op);
509 } 509 }
510 510
511 void InFlightBackendIO::QueueOperationToList(BackendIO* operation, 511 void InFlightBackendIO::QueueOperationToList(BackendIO* operation,
512 OperationList* list) { 512 OperationList* list) {
513 if (list->empty()) 513 if (list->empty())
514 return PostOperation(operation); 514 return PostOperation(operation);
515 515
516 list->push_back(operation); 516 list->push_back(make_scoped_refptr(operation));
517 } 517 }
518 518
519 } // namespace 519 } // namespace
OLDNEW
« no previous file with comments | « net/disk_cache/file_posix.cc ('k') | net/disk_cache/in_flight_io.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698