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 0484306873b2b00cb0385c97e1d572f39b09961d..411fe5e784e8e7c8c994c3fbea630905e050ca74 100644 |
--- a/chrome/browser/ui/webui/options/chromeos/storage_manager_handler.cc |
+++ b/chrome/browser/ui/webui/options/chromeos/storage_manager_handler.cc |
@@ -22,7 +22,6 @@ |
#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_session_manager.h" |
#include "chrome/browser/chromeos/arc/arc_util.h" |
#include "chrome/browser/chromeos/drive/file_system_util.h" |
#include "chrome/browser/chromeos/file_manager/path_util.h" |
@@ -415,9 +414,8 @@ void StorageManagerHandler::UpdateArcSize() { |
updating_arc_size_ = true; |
Profile* const profile = Profile::FromWebUI(web_ui()); |
- if (!arc::IsArcAllowedForProfile(profile) || |
- arc::IsArcOptInVerificationDisabled() || |
- !arc::ArcSessionManager::Get()->IsArcPlayStoreEnabled()) { |
+ if (!arc::IsArcPlayStoreEnabledForProfile(profile) || |
Luis Héctor Chávez
2017/02/21 16:50:02
Can this trigger a DCHECK? |arc::IsArcAllowedForPr
hidehiko
2017/02/21 17:25:14
No. IsArcAllowedForProfile() is called in IsArcPla
|
+ arc::IsArcOptInVerificationDisabled()) { |
return; |
} |