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

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

Issue 15932010: drive: Rename DriveWebApp* to DriveApp (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 7 years, 7 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/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 0fc81d8f09cb71d6cc54c7646664010f488fc089..7a68e1745da4ca6a17f06d8d67bbc4362088e9eb 100644
--- a/chrome/browser/chromeos/drive/drive_integration_service.cc
+++ b/chrome/browser/chromeos/drive/drive_integration_service.cc
@@ -9,7 +9,7 @@
#include "chrome/browser/browser_process.h"
#include "chrome/browser/chromeos/drive/debug_info_collector.h"
#include "chrome/browser/chromeos/drive/download_handler.h"
-#include "chrome/browser/chromeos/drive/drive_webapps_registry.h"
+#include "chrome/browser/chromeos/drive/drive_app_registry.h"
#include "chrome/browser/chromeos/drive/file_cache.h"
#include "chrome/browser/chromeos/drive/file_system.h"
#include "chrome/browser/chromeos/drive/file_system_proxy.h"
@@ -121,7 +121,7 @@ DriveIntegrationService::DriveIntegrationService(
util::GetCacheRootPath(profile),
blocking_task_runner_,
NULL /* free_disk_space_getter */));
- webapps_registry_.reset(new DriveWebAppsRegistry(scheduler_.get()));
+ drive_app_registry_.reset(new DriveAppRegistry(scheduler_.get()));
// We can call FileCache::GetCacheDirectoryPath safely even before the cache
// gets initialized.
@@ -182,7 +182,7 @@ void DriveIntegrationService::RemoveObserver(
void DriveIntegrationService::OnNotificationReceived() {
file_system_->CheckForUpdates();
- webapps_registry_->Update();
+ drive_app_registry_->Update();
}
void DriveIntegrationService::OnPushNotificationEnabled(bool enabled) {
@@ -227,7 +227,7 @@ void DriveIntegrationService::AddBackDriveMountPoint(
}
file_system_->Initialize();
- webapps_registry_->Update();
+ drive_app_registry_->Update();
AddDriveMountPoint();
callback.Run(true);
@@ -238,7 +238,7 @@ void DriveIntegrationService::ReloadAndRemountFileSystem() {
RemoveDriveMountPoint();
file_system_->Reload();
- webapps_registry_->Update();
+ drive_app_registry_->Update();
// Reload() is asynchronous. But we can add back the mount point right away
// because every operation waits until loading is complete.
@@ -335,7 +335,7 @@ void DriveIntegrationService::InitializeAfterResourceMetadataInitialized(
util::Log("Push notification is %s", status);
}
- webapps_registry_->Update();
+ drive_app_registry_->Update();
AddDriveMountPoint();
}
« no previous file with comments | « chrome/browser/chromeos/drive/drive_integration_service.h ('k') | chrome/browser/chromeos/drive/drive_url_request_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698