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

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

Issue 9836086: Added logic that will return the result of the first chunk of root feed and continue fetching the r… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed asserts in browser_tests Created 8 years, 9 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 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_GDATA_OPERATIONS_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_GDATA_OPERATIONS_H_
6 #define CHROME_BROWSER_CHROMEOS_GDATA_GDATA_OPERATIONS_H_ 6 #define CHROME_BROWSER_CHROMEOS_GDATA_GDATA_OPERATIONS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 std::string GetResponseHeadersAsString( 133 std::string GetResponseHeadersAsString(
134 const content::URLFetcher* url_fetcher); 134 const content::URLFetcher* url_fetcher);
135 135
136 Profile* profile_; 136 Profile* profile_;
137 ReAuthenticateCallback re_authenticate_callback_; 137 ReAuthenticateCallback re_authenticate_callback_;
138 scoped_refptr<base::MessageLoopProxy> relay_proxy_; 138 scoped_refptr<base::MessageLoopProxy> relay_proxy_;
139 int re_authenticate_count_; 139 int re_authenticate_count_;
140 bool save_temp_file_; 140 bool save_temp_file_;
141 FilePath output_file_path_; 141 FilePath output_file_path_;
142 scoped_ptr<content::URLFetcher> url_fetcher_; 142 scoped_ptr<content::URLFetcher> url_fetcher_;
143 bool started_;
143 }; 144 };
144 145
145 //============================ EntryActionOperation ============================ 146 //============================ EntryActionOperation ============================
146 147
147 // This class performs a simple action over a given entry (document/file). 148 // This class performs a simple action over a given entry (document/file).
148 // It is meant to be used for operations that return no JSON blobs. 149 // It is meant to be used for operations that return no JSON blobs.
149 class EntryActionOperation : public UrlFetchOperationBase { 150 class EntryActionOperation : public UrlFetchOperationBase {
150 public: 151 public:
151 EntryActionOperation(GDataOperationRegistry* registry, 152 EntryActionOperation(GDataOperationRegistry* registry,
152 Profile* profile, 153 Profile* profile,
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 private: 492 private:
492 ResumeUploadCallback callback_; 493 ResumeUploadCallback callback_;
493 ResumeUploadParams params_; 494 ResumeUploadParams params_;
494 495
495 DISALLOW_COPY_AND_ASSIGN(ResumeUploadOperation); 496 DISALLOW_COPY_AND_ASSIGN(ResumeUploadOperation);
496 }; 497 };
497 498
498 } // namespace gdata 499 } // namespace gdata
499 500
500 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_OPERATIONS_H_ 501 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_OPERATIONS_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_files.cc ('k') | chrome/browser/chromeos/gdata/gdata_operations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698