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

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

Issue 18667002: Pass BrowserContext to drive::MountPointProviderDelegate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 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/file_system_backend_delegate.cc
diff --git a/chrome/browser/chromeos/drive/file_system_backend_delegate.cc b/chrome/browser/chromeos/drive/file_system_backend_delegate.cc
index f090aed717988ecdbc42a4becd5cfed284f2181f..fab339db9c3e3db06b31040785a3762a84a06049 100644
--- a/chrome/browser/chromeos/drive/file_system_backend_delegate.cc
+++ b/chrome/browser/chromeos/drive/file_system_backend_delegate.cc
@@ -6,6 +6,7 @@
#include "chrome/browser/chromeos/drive/remote_file_stream_writer.h"
#include "chrome/browser/chromeos/fileapi/remote_file_system_operation.h"
+#include "content/public/browser/browser_context.h"
#include "content/public/browser/browser_thread.h"
#include "webkit/browser/blob/file_stream_reader.h"
#include "webkit/browser/fileapi/external_mount_points.h"
@@ -17,8 +18,8 @@ using content::BrowserThread;
namespace drive {
FileSystemBackendDelegate::FileSystemBackendDelegate(
- fileapi::ExternalMountPoints* mount_points)
- : mount_points_(mount_points) {
+ content::BrowserContext* browser_context)
+ : mount_points_(content::BrowserContext::GetMountPoints(browser_context)) {
}
FileSystemBackendDelegate::~FileSystemBackendDelegate() {
« no previous file with comments | « chrome/browser/chromeos/drive/file_system_backend_delegate.h ('k') | content/browser/fileapi/browser_file_system_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698