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

Side by Side Diff: chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.cc

Issue 1243853002: Move chrome/browser/chromeos/drive/drive.proto into components/drive (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/fileapi/webkit_file_stream_reader_impl.h " 5 #include "chrome/browser/chromeos/drive/fileapi/webkit_file_stream_reader_impl.h "
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "chrome/browser/chromeos/drive/drive.pb.h"
12 #include "chrome/browser/chromeos/drive/drive_file_stream_reader.h" 11 #include "chrome/browser/chromeos/drive/drive_file_stream_reader.h"
12 #include "components/drive/drive.pb.h"
13 #include "content/public/browser/browser_thread.h" 13 #include "content/public/browser/browser_thread.h"
14 #include "net/base/io_buffer.h" 14 #include "net/base/io_buffer.h"
15 #include "net/base/net_errors.h" 15 #include "net/base/net_errors.h"
16 #include "net/http/http_byte_range.h" 16 #include "net/http/http_byte_range.h"
17 17
18 using content::BrowserThread; 18 using content::BrowserThread;
19 19
20 namespace drive { 20 namespace drive {
21 namespace internal { 21 namespace internal {
22 22
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 callback.Run(initialization_result); 141 callback.Run(initialization_result);
142 return; 142 return;
143 } 143 }
144 144
145 DCHECK_GE(file_size_, 0); 145 DCHECK_GE(file_size_, 0);
146 callback.Run(file_size_); 146 callback.Run(file_size_);
147 } 147 }
148 148
149 } // namespace internal 149 } // namespace internal
150 } // namespace drive 150 } // namespace drive
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc ('k') | chrome/browser/chromeos/drive/remove_stale_cache_files.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698