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

Side by Side Diff: chrome/browser/chromeos/extensions/file_manager/private_api_drive.h

Issue 1055403004: Fix cast from video player by using DriveApiUrlGenerator to generate URL (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/extensions/file_manager/private_api_drive.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 // This file provides Drive specific API functions. 5 // This file provides Drive specific API functions.
6 6
7 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_DRIVE_H_ 7 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_DRIVE_H_
8 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_DRIVE_H_ 8 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_DRIVE_H_
9 9
10 #include <string> 10 #include <string>
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 233
234 void OnGetResourceEntry(drive::FileError error, 234 void OnGetResourceEntry(drive::FileError error,
235 scoped_ptr<drive::ResourceEntry> entry); 235 scoped_ptr<drive::ResourceEntry> entry);
236 236
237 // Callback with an |access_token|, called by 237 // Callback with an |access_token|, called by
238 // drive::DriveReadonlyTokenFetcher. 238 // drive::DriveReadonlyTokenFetcher.
239 void OnTokenFetched(google_apis::DriveApiErrorCode code, 239 void OnTokenFetched(google_apis::DriveApiErrorCode code,
240 const std::string& access_token); 240 const std::string& access_token);
241 241
242 private: 242 private:
243 std::string download_url_; 243 GURL download_url_;
244 scoped_ptr<google_apis::AuthService> auth_service_; 244 scoped_ptr<google_apis::AuthService> auth_service_;
245 }; 245 };
246 246
247 } // namespace extensions 247 } // namespace extensions
248 248
249 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_DRIVE_H_ 249 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_DRIVE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698