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

Unified Diff: chrome/browser/chromeos/drive/fake_file_system.cc

Issue 371883003: Files.app: Add an private API to get a download URL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/drive/fake_file_system.cc
diff --git a/chrome/browser/chromeos/drive/fake_file_system.cc b/chrome/browser/chromeos/drive/fake_file_system.cc
index faab75677dc1e2ef577d35d8d0736a2a713c3c2d..de08a17d41f9c3ad7fa1bc865436f9cf491b0c71 100644
--- a/chrome/browser/chromeos/drive/fake_file_system.cc
+++ b/chrome/browser/chromeos/drive/fake_file_system.cc
@@ -191,10 +191,14 @@ void FakeFileSystem::GetAvailableSpace(
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
}
-void FakeFileSystem::GetShareUrl(
- const base::FilePath& file_path,
- const GURL& embed_origin,
- const GetShareUrlCallback& callback) {
+void FakeFileSystem::GetShareUrl(const base::FilePath& file_path,
+ const GURL& embed_origin,
+ const GetUrlCallback& callback) {
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
+}
+
+void FakeFileSystem::GetDownloadUrl(const base::FilePath& file_path,
+ const GetUrlCallback& callback) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
}

Powered by Google App Engine
This is Rietveld 408576698