| Index: webkit/fileapi/syncable/local_file_change_tracker_unittest.cc
|
| ===================================================================
|
| --- webkit/fileapi/syncable/local_file_change_tracker_unittest.cc (revision 186525)
|
| +++ webkit/fileapi/syncable/local_file_change_tracker_unittest.cc (working copy)
|
| @@ -15,6 +15,7 @@
|
| #include "base/stl_util.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| #include "webkit/blob/mock_blob_url_request_context.h"
|
| +#include "webkit/blob/blob_storage_context.h"
|
| #include "webkit/fileapi/file_system_context.h"
|
| #include "webkit/fileapi/file_system_task_runners.h"
|
| #include "webkit/fileapi/syncable/canned_syncable_file_system.h"
|
| @@ -201,10 +202,9 @@
|
| file_system_.GetChangedURLsInTracker(&urls);
|
| ASSERT_EQ(0U, urls.size());
|
|
|
| - const GURL blob_url("blob:test");
|
| const std::string kData("Lorem ipsum.");
|
| MockBlobURLRequestContext url_request_context(file_system_context());
|
| - ScopedTextBlob blob(url_request_context, blob_url, kData);
|
| + ScopedTextBlob blob(url_request_context, "blob_id:test", kData);
|
|
|
| // Create files and nested directories.
|
| EXPECT_EQ(base::PLATFORM_FILE_OK,
|
| @@ -220,8 +220,8 @@
|
| EXPECT_EQ(base::PLATFORM_FILE_OK,
|
| file_system_.CreateFile(URL(kPath4))); // Creates another file.
|
| EXPECT_EQ(static_cast<int64>(kData.size()),
|
| - file_system_.Write(&url_request_context,
|
| - URL(kPath4), blob_url)); // Modifies the file.
|
| + file_system_.Write(&url_request_context, // Modifies the file.
|
| + URL(kPath4), blob.GetBlobDataHandle()));
|
|
|
| // Verify the changes.
|
| file_system_.GetChangedURLsInTracker(&urls);
|
|
|