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

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

Issue 18667002: Pass BrowserContext to drive::MountPointProviderDelegate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/mount_point_provider_delegate.cc
diff --git a/chrome/browser/chromeos/drive/mount_point_provider_delegate.cc b/chrome/browser/chromeos/drive/mount_point_provider_delegate.cc
index 7d2e2e62e0bf245bbdf2e6cd7963931bbac13b0d..920cc2f355d9ff10eb463a81bfec80a0abcc9bff 100644
--- a/chrome/browser/chromeos/drive/mount_point_provider_delegate.cc
+++ b/chrome/browser/chromeos/drive/mount_point_provider_delegate.cc
@@ -6,6 +6,7 @@
#include "chrome/browser/chromeos/fileapi/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 {
MountPointProviderDelegate::MountPointProviderDelegate(
- fileapi::ExternalMountPoints* mount_points)
- : mount_points_(mount_points) {
+ content::BrowserContext* browser_context)
+ : mount_points_(content::BrowserContext::GetMountPoints(browser_context)) {
}
MountPointProviderDelegate::~MountPointProviderDelegate() {

Powered by Google App Engine
This is Rietveld 408576698