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

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

Issue 10827135: Comment objectType field of ApplicationResource, resolving TODO (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_files.cc ('k') | no next file » | 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) 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/gdata/gdata_operations.h" 5 #include "chrome/browser/chromeos/gdata/gdata_operations.h"
6 6
7 #include "base/string_number_conversions.h" 7 #include "base/string_number_conversions.h"
8 #include "base/stringprintf.h" 8 #include "base/stringprintf.h"
9 #include "base/values.h" 9 #include "base/values.h"
10 #include "chrome/browser/chromeos/gdata/gdata_util.h" 10 #include "chrome/browser/chromeos/gdata/gdata_util.h"
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 namespace gdata { 150 namespace gdata {
151 151
152 //============================ GetDocumentsOperation =========================== 152 //============================ GetDocumentsOperation ===========================
153 153
154 GetDocumentsOperation::GetDocumentsOperation( 154 GetDocumentsOperation::GetDocumentsOperation(
155 GDataOperationRegistry* registry, 155 GDataOperationRegistry* registry,
156 Profile* profile, 156 Profile* profile,
157 int start_changestamp, 157 int start_changestamp,
158 const std::string& search_string, 158 const std::string& search_string,
159 const std::string& directory_resource_id, 159 const std::string& directory_resource_id,
160
161 const GetDataCallback& callback) 160 const GetDataCallback& callback)
162 : GetDataOperation(registry, profile, callback), 161 : GetDataOperation(registry, profile, callback),
163 start_changestamp_(start_changestamp), 162 start_changestamp_(start_changestamp),
164 search_string_(search_string), 163 search_string_(search_string),
165 directory_resource_id_(directory_resource_id) { 164 directory_resource_id_(directory_resource_id) {
166 } 165 }
167 166
168 GetDocumentsOperation::~GetDocumentsOperation() {} 167 GetDocumentsOperation::~GetDocumentsOperation() {}
169 168
170 void GetDocumentsOperation::SetUrl(const GURL& url) { 169 void GetDocumentsOperation::SetUrl(const GURL& url) {
(...skipping 771 matching lines...) Expand 10 before | Expand all | Expand 10 after
942 OnProcessURLFetchResultsComplete(code == HTTP_SUCCESS); 941 OnProcessURLFetchResultsComplete(code == HTTP_SUCCESS);
943 } 942 }
944 943
945 void GetContactPhotoOperation::RunCallbackOnPrematureFailure( 944 void GetContactPhotoOperation::RunCallbackOnPrematureFailure(
946 GDataErrorCode code) { 945 GDataErrorCode code) {
947 scoped_ptr<std::string> data(new std::string); 946 scoped_ptr<std::string> data(new std::string);
948 callback_.Run(code, data.Pass()); 947 callback_.Run(code, data.Pass());
949 } 948 }
950 949
951 } // namespace gdata 950 } // namespace gdata
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_files.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698