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

Unified Diff: chrome/browser/chromeos/arc/fileapi/arc_documents_provider_root.cc

Issue 2572683004: mediaview: Introduce ArcDocumentsProviderRoot. (Closed)
Patch Set: Fix failing unit tests. Created 4 years 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/arc/fileapi/arc_documents_provider_root.cc
diff --git a/chrome/browser/chromeos/arc/fileapi/arc_documents_provider_root.cc b/chrome/browser/chromeos/arc/fileapi/arc_documents_provider_root.cc
new file mode 100644
index 0000000000000000000000000000000000000000..aa1b86890526123ae9f5168754b6ce218dc540b8
--- /dev/null
+++ b/chrome/browser/chromeos/arc/fileapi/arc_documents_provider_root.cc
@@ -0,0 +1,36 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/chromeos/arc/fileapi/arc_documents_provider_root.h"
+
+#include "base/logging.h"
+#include "content/public/browser/browser_thread.h"
+
+using content::BrowserThread;
+
+namespace arc {
+
+ArcDocumentsProviderRoot::ArcDocumentsProviderRoot(
+ const std::string& authority,
+ const std::string& root_document_id) {}
Luis Héctor Chávez 2016/12/15 21:26:10 nit: = default (or DCHECK_CURRENTLY_ON(BrowserThr
Shuhei Takahashi 2016/12/16 03:21:12 Added DCHECK. FYI, a constructor with arguments c
+
+ArcDocumentsProviderRoot::~ArcDocumentsProviderRoot() {
+ DCHECK_CURRENTLY_ON(BrowserThread::IO);
+}
+
+void ArcDocumentsProviderRoot::GetFileInfo(
+ const base::FilePath& path,
+ const GetFileInfoCallback& callback) {
+ DCHECK_CURRENTLY_ON(BrowserThread::IO);
+ NOTIMPLEMENTED(); // TODO(crbug.com/671511): Implement this function.
+}
+
+void ArcDocumentsProviderRoot::ReadDirectory(
+ const base::FilePath& path,
+ const ReadDirectoryCallback& callback) {
+ DCHECK_CURRENTLY_ON(BrowserThread::IO);
+ NOTIMPLEMENTED(); // TODO(crbug.com/671511): Implement this function.
+}
+
+} // namespace arc

Powered by Google App Engine
This is Rietveld 408576698