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

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

Issue 445473002: Remove ResourceIdCanonicalizer from DriveServiceInterface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/drive/file_system.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/drive/drive_integration_service.cc
diff --git a/chrome/browser/chromeos/drive/drive_integration_service.cc b/chrome/browser/chromeos/drive/drive_integration_service.cc
index 2a865a0edb1868400c9786a9cb3cf968265516a5..8087e41fa1a3485e22497ecdefe3f4d604f6c690 100644
--- a/chrome/browser/chromeos/drive/drive_integration_service.cc
+++ b/chrome/browser/chromeos/drive/drive_integration_service.cc
@@ -103,7 +103,6 @@ FileError InitializeMetadata(
internal::ResourceMetadataStorage* metadata_storage,
internal::FileCache* cache,
internal::ResourceMetadata* resource_metadata,
- const ResourceIdCanonicalizer& id_canonicalizer,
const base::FilePath& downloads_directory) {
// Files in temporary directory need not persist across sessions. Clean up
// the directory content while initialization.
@@ -128,7 +127,7 @@ FileError InitializeMetadata(
base::FILE_PERMISSION_EXECUTE_BY_OTHERS);
internal::ResourceMetadataStorage::UpgradeOldDB(
- metadata_storage->directory_path(), id_canonicalizer);
+ metadata_storage->directory_path());
if (!metadata_storage->Initialize()) {
LOG(WARNING) << "Failed to initialize the metadata storage.";
@@ -485,7 +484,6 @@ void DriveIntegrationService::Initialize() {
metadata_storage_.get(),
cache_.get(),
resource_metadata_.get(),
- drive_service_->GetResourceIdCanonicalizer(),
file_manager::util::GetDownloadsFolderForProfile(profile_)),
base::Bind(&DriveIntegrationService::InitializeAfterMetadataInitialized,
weak_ptr_factory_.GetWeakPtr()));
« no previous file with comments | « no previous file | chrome/browser/chromeos/drive/file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698