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

Side by Side Diff: chrome/browser/chromeos/gdata/gdata_params.cc

Issue 10855034: Drive: Remove gdata_params.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix reviews (#12) and Rebase Created 8 years, 4 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "chrome/browser/chromeos/gdata/gdata_params.h"
6
7 namespace gdata {
8
9 ResumeUploadResponse::ResumeUploadResponse(GDataErrorCode code,
10 int64 start_range_received,
11 int64 end_range_received)
12 : code(code),
13 start_range_received(start_range_received),
14 end_range_received(end_range_received) {
15 }
16
17 ResumeUploadResponse::~ResumeUploadResponse() {
18 }
19
20 InitiateUploadParams::InitiateUploadParams(
21 UploadMode upload_mode,
22 const std::string& title,
23 const std::string& content_type,
24 int64 content_length,
25 const GURL& upload_location,
26 const FilePath& virtual_path)
27 : upload_mode(upload_mode),
28 title(title),
29 content_type(content_type),
30 content_length(content_length),
31 upload_location(upload_location),
32 virtual_path(virtual_path) {
33 }
34
35 InitiateUploadParams::~InitiateUploadParams() {
36 }
37
38 ResumeUploadParams::ResumeUploadParams(
39 UploadMode upload_mode,
40 int64 start_range,
41 int64 end_range,
42 int64 content_length,
43 const std::string& content_type,
44 scoped_refptr<net::IOBuffer> buf,
45 const GURL& upload_location,
46 const FilePath& virtual_path) : upload_mode(upload_mode),
47 start_range(start_range),
48 end_range(end_range),
49 content_length(content_length),
50 content_type(content_type),
51 buf(buf),
52 upload_location(upload_location),
53 virtual_path(virtual_path) {
54 }
55
56 ResumeUploadParams::~ResumeUploadParams() {
57 }
58
59 LoadRootFeedParams::LoadRootFeedParams(
60 FilePath search_file_path,
61 bool should_load_from_server,
62 const FindEntryCallback& callback)
63 : search_file_path(search_file_path),
64 should_load_from_server(should_load_from_server),
65 load_error(GDATA_FILE_OK),
66 load_start_time(base::Time::Now()),
67 callback(callback) {
68 }
69
70 LoadRootFeedParams::~LoadRootFeedParams() {
71 }
72
73 } // namespace gdata
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698