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

Unified Diff: ios/chrome/browser/ui/settings/settings_collection_view_controller.mm

Issue 2860573003: Disables Native App Launcher functionality. (Closed)
Patch Set: Created 3 years, 8 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: ios/chrome/browser/ui/settings/settings_collection_view_controller.mm
diff --git a/ios/chrome/browser/ui/settings/settings_collection_view_controller.mm b/ios/chrome/browser/ui/settings/settings_collection_view_controller.mm
index 73c8da6fa4ed901bcbd9813406885fb188b0a21d..66cb8c616b52af2491a6e06b16c34ea6d804bf22 100644
--- a/ios/chrome/browser/ui/settings/settings_collection_view_controller.mm
+++ b/ios/chrome/browser/ui/settings/settings_collection_view_controller.mm
@@ -358,8 +358,10 @@ void SigninObserverBridge::GoogleSignedOut(const std::string& account_id,
toSectionWithIdentifier:SectionIdentifierBasics];
[model addItem:[self autoFillDetailItem]
toSectionWithIdentifier:SectionIdentifierBasics];
- [model addItem:[self nativeAppsDetailItem]
- toSectionWithIdentifier:SectionIdentifierBasics];
+ if (experimental_flags::IsNativeAppLauncherEnabled()) {
+ [model addItem:[self nativeAppsDetailItem]
+ toSectionWithIdentifier:SectionIdentifierBasics];
rohitrao (ping after 24h) 2017/05/03 22:53:07 I'm a little surprised that we don't have a unitte
pkl (ping after 24h if needed) 2017/05/03 23:20:01 You mean, you are surprised that we don't have *an
+ }
// Advanced Section
[model addSectionWithIdentifier:SectionIdentifierAdvanced];

Powered by Google App Engine
This is Rietveld 408576698