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

Unified Diff: chrome/browser/ui/webui/options/chromeos/storage_manager_handler.cc

Issue 2507073002: Split ArcSessionManager from ArcAuthService. (Closed)
Patch Set: Fix rebase mistake Created 4 years, 1 month 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/ui/webui/options/chromeos/storage_manager_handler.cc
diff --git a/chrome/browser/ui/webui/options/chromeos/storage_manager_handler.cc b/chrome/browser/ui/webui/options/chromeos/storage_manager_handler.cc
index 5a3976cb2cd1f8477f085078a381db28697ca9d8..dba9a9350018cf60a0529038b768107b4689dea5 100644
--- a/chrome/browser/ui/webui/options/chromeos/storage_manager_handler.cc
+++ b/chrome/browser/ui/webui/options/chromeos/storage_manager_handler.cc
@@ -21,7 +21,7 @@
#include "chrome/browser/browsing_data/browsing_data_indexed_db_helper.h"
#include "chrome/browser/browsing_data/browsing_data_local_storage_helper.h"
#include "chrome/browser/browsing_data/browsing_data_service_worker_helper.h"
-#include "chrome/browser/chromeos/arc/arc_auth_service.h"
+#include "chrome/browser/chromeos/arc/arc_session_manager.h"
#include "chrome/browser/chromeos/drive/file_system_util.h"
#include "chrome/browser/chromeos/file_manager/path_util.h"
#include "chrome/browser/platform_util.h"
@@ -411,9 +411,9 @@ void StorageManagerHandler::UpdateArcSize() {
updating_arc_size_ = true;
Profile* const profile = Profile::FromWebUI(web_ui());
- if (!arc::ArcAuthService::IsAllowedForProfile(profile) ||
- arc::ArcAuthService::IsOptInVerificationDisabled() ||
- !arc::ArcAuthService::Get()->IsArcEnabled()) {
+ if (!arc::ArcSessionManager::IsAllowedForProfile(profile) ||
+ arc::ArcSessionManager::IsOptInVerificationDisabled() ||
+ !arc::ArcSessionManager::Get()->IsArcEnabled()) {
return;
}

Powered by Google App Engine
This is Rietveld 408576698