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) || |
hidehiko
2017/02/17 15:07:19
Note: IsArcAllowedForProfile is no longer needed h
|
+ arc::IsArcOptInVerificationDisabled()) { |
Yusuke Sato
2017/02/17 22:27:09
Mostly OT: do you know why this check is necessary
hidehiko
2017/02/20 18:18:44
I'm guessing we'd like to show the section only wh
|
return; |
} |