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

Unified Diff: chrome/browser/ui/app_list/arc/arc_app_utils.cc

Issue 2917773002: Remove the chrome flag to show/hide ARC files app in launcher. (Closed)
Patch Set: Keep histogram enums. Created 3 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
« no previous file with comments | « chrome/browser/flag_descriptions.cc ('k') | components/arc/arc_features.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/app_list/arc/arc_app_utils.cc
diff --git a/chrome/browser/ui/app_list/arc/arc_app_utils.cc b/chrome/browser/ui/app_list/arc/arc_app_utils.cc
index 5056bcca0bb59e399a3adcfba2b00481696369f7..19525360f7c0cf2edd4be1593cc9fe8536abaffb 100644
--- a/chrome/browser/ui/app_list/arc/arc_app_utils.cc
+++ b/chrome/browser/ui/app_list/arc/arc_app_utils.cc
@@ -9,7 +9,6 @@
#include "ash/shell.h"
#include "base/bind.h"
-#include "base/feature_list.h"
#include "base/json/json_writer.h"
#include "base/synchronization/waitable_event.h"
#include "base/values.h"
@@ -22,7 +21,6 @@
#include "chrome/browser/ui/ash/launcher/arc_app_shelf_id.h"
#include "chrome/browser/ui/ash/launcher/chrome_launcher_controller.h"
#include "components/arc/arc_bridge_service.h"
-#include "components/arc/arc_features.h"
#include "components/arc/arc_service_manager.h"
#include "components/arc/arc_util.h"
#include "components/arc/common/intent_helper.mojom.h"
@@ -172,15 +170,10 @@ const char kPlayStoreAppId[] = "cnbgggchhmkkdmeppjobngjoejnihlei";
const char kLegacyPlayStoreAppId[] = "gpkmicpkkebkmabiaedjognfppcchdfa";
const char kPlayStorePackage[] = "com.android.vending";
const char kPlayStoreActivity[] = "com.android.vending.AssetBrowserActivity";
-const char kFilesAppId[] = "clippbnfpgifdekheldlleoeiiababjg";
const char kSettingsAppId[] = "mconboelelhjpkbdhhiijkgcimoangdj";
bool ShouldShowInLauncher(const std::string& app_id) {
- if (app_id == kFilesAppId) {
- return base::FeatureList::IsEnabled(kShowArcFilesAppFeature);
- } else {
- return (app_id != kSettingsAppId);
- }
+ return (app_id != kSettingsAppId);
}
bool LaunchAppWithRect(content::BrowserContext* context,
« no previous file with comments | « chrome/browser/flag_descriptions.cc ('k') | components/arc/arc_features.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698