Index: chrome/browser/sync_file_system/local/canned_syncable_file_system.h |
diff --git a/chrome/browser/sync_file_system/local/canned_syncable_file_system.h b/chrome/browser/sync_file_system/local/canned_syncable_file_system.h |
index ff20b231496fa4253a06218f57c06fc58dd870c8..6f2cf09920c1874c3b073db6015b210910714736 100644 |
--- a/chrome/browser/sync_file_system/local/canned_syncable_file_system.h |
+++ b/chrome/browser/sync_file_system/local/canned_syncable_file_system.h |
@@ -15,6 +15,7 @@ |
#include "base/platform_file.h" |
#include "chrome/browser/sync_file_system/local/local_file_sync_status.h" |
#include "chrome/browser/sync_file_system/sync_status_code.h" |
+#include "chrome/test/base/testing_profile.h" |
#include "webkit/browser/fileapi/file_system_operation.h" |
#include "webkit/browser/fileapi/file_system_url.h" |
#include "webkit/browser/quota/quota_callbacks.h" |
@@ -193,6 +194,8 @@ class CannedSyncableFileSystem |
int64* quota, |
const quota::StatusCallback& callback); |
+ Profile* profile() { return &profile_; } |
+ |
private: |
typedef ObserverListThreadSafe<LocalFileSyncStatus::Observer> ObserverList; |
@@ -218,6 +221,8 @@ class CannedSyncableFileSystem |
scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_; |
scoped_refptr<base::SingleThreadTaskRunner> file_task_runner_; |
+ TestingProfile profile_; |
+ |
// Boolean flags mainly for helping debug. |
bool is_filesystem_set_up_; |
bool is_filesystem_opened_; |