Commit 9c25905e authored by Nazerke's avatar Nazerke Committed by Commit Bot

[iOS][cr/b] Move about_flags.* to flags/

Bug: 973040.
Change-Id: If94a974ab68c947144cd0df04f3a843fadd391d2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1678477
Commit-Queue: Nazerke Kalidolda <nazerke@google.com>
Commit-Queue: Gauthier Ambard <gambard@chromium.org>
Reviewed-by: default avatarGauthier Ambard <gambard@chromium.org>
Reviewed-by: default avatarMark Cogan <marq@chromium.org>
Auto-Submit: Nazerke Kalidolda <nazerke@google.com>
Cr-Commit-Position: refs/heads/master@{#672522}
parent b5e158cd
......@@ -25,8 +25,6 @@ source_set("chrome_paths") {
source_set("browser") {
configs += [ "//build/config/compiler:enable_arc" ]
sources = [
"about_flags.h",
"about_flags.mm",
"app_startup_parameters.h",
"app_startup_parameters.mm",
"application_context.cc",
......@@ -205,6 +203,7 @@ source_set("browser_impl") {
"//ios/chrome/browser/browser_state:browser_state_impl",
"//ios/chrome/browser/component_updater",
"//ios/chrome/browser/first_run",
"//ios/chrome/browser/flags",
"//ios/chrome/browser/gcm",
"//ios/chrome/browser/history",
"//ios/chrome/browser/metrics",
......
# Copyright 2019 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
source_set("flags") {
configs += [ "//build/config/compiler:enable_arc" ]
sources = [
"about_flags.h",
"about_flags.mm",
]
deps = [
"//base",
"//components/autofill/core/common",
"//components/autofill/ios/browser",
"//components/dom_distiller/core",
"//components/feature_engagement/public",
"//components/flags_ui",
"//components/flags_ui:switches",
"//components/invalidation/impl:feature_list",
"//components/ntp_tiles",
"//components/omnibox/browser",
"//components/omnibox/common",
"//components/password_manager/core/common",
"//components/payments/core",
"//components/search_provider_logos",
"//components/security_state/core",
"//components/send_tab_to_self",
"//components/signin/core/browser",
"//components/signin/core/browser:shared",
"//components/strings:components_strings",
"//components/sync/driver",
"//components/translate/core/browser",
"//components/ukm/ios:features",
"//components/unified_consent",
"//components/variations",
"//ios/chrome/app/strings:ios_strings",
"//ios/chrome/browser",
"//ios/chrome/browser/app_launcher:feature_flags",
"//ios/chrome/browser/browsing_data:feature_flags",
"//ios/chrome/browser/crash_report:flags",
"//ios/chrome/browser/drag_and_drop",
"//ios/chrome/browser/find_in_page:feature_flags",
"//ios/chrome/browser/passwords:feature_flags",
"//ios/chrome/browser/reading_list:features",
"//ios/chrome/browser/signin:feature_flags",
"//ios/chrome/browser/ui:feature_flags",
"//ios/chrome/browser/ui/dialogs:feature_flags",
"//ios/chrome/browser/ui/fullscreen:feature_flags",
"//ios/chrome/browser/ui/infobars:feature_flags",
"//ios/chrome/browser/ui/toolbar/public:feature_flags",
"//ios/chrome/browser/ui/toolbar_container:feature_flags",
"//ios/chrome/browser/web:feature_flags",
"//ios/public/provider/chrome/browser",
"//ios/web/common",
"//ios/web/public",
"//ios/web/public:user_agent",
]
}
......@@ -5,8 +5,8 @@
// Implementation of about_flags for iOS that sets flags based on experimental
// settings.
#ifndef IOS_CHROME_BROWSER_ABOUT_FLAGS_H_
#define IOS_CHROME_BROWSER_ABOUT_FLAGS_H_
#ifndef IOS_CHROME_BROWSER_FLAGS_ABOUT_FLAGS_H_
#define IOS_CHROME_BROWSER_FLAGS_ABOUT_FLAGS_H_
#include <stddef.h>
#include <string>
......@@ -17,7 +17,7 @@
namespace base {
class CommandLine;
class ListValue;
}
} // namespace base
namespace flags_ui {
class FlagsStorage;
......@@ -62,4 +62,4 @@ const flags_ui::FeatureEntry* GetFeatureEntries(size_t* count);
} // namespace testing
#endif // IOS_CHROME_BROWSER_ABOUT_FLAGS_H_
#endif // IOS_CHROME_BROWSER_FLAGS_ABOUT_FLAGS_H_
......@@ -5,11 +5,11 @@
// Implementation of about_flags for iOS that sets flags based on experimental
// settings.
#include "ios/chrome/browser/about_flags.h"
#include "ios/chrome/browser/flags/about_flags.h"
#import <UIKit/UIKit.h>
#include <stddef.h>
#include <stdint.h>
#import <UIKit/UIKit.h>
#include "base/base_switches.h"
#include "base/bind.h"
......
......@@ -33,13 +33,13 @@
#include "components/variations/synthetic_trials_active_group_id_provider.h"
#include "components/variations/variations_crash_keys.h"
#include "components/variations/variations_http_header_provider.h"
#include "ios/chrome/browser/about_flags.h"
#include "ios/chrome/browser/application_context_impl.h"
#include "ios/chrome/browser/browser_state/browser_state_keyed_service_factories.h"
#include "ios/chrome/browser/browser_state/chrome_browser_state.h"
#include "ios/chrome/browser/browser_state/chrome_browser_state_manager.h"
#include "ios/chrome/browser/chrome_paths.h"
#import "ios/chrome/browser/first_run/first_run.h"
#include "ios/chrome/browser/flags/about_flags.h"
#include "ios/chrome/browser/install_time_util.h"
#include "ios/chrome/browser/metrics/ios_expired_histograms_array.h"
#include "ios/chrome/browser/open_from_clipboard/create_clipboard_recent_content.h"
......
......@@ -58,6 +58,7 @@ source_set("webui") {
"//ios/chrome/browser/browser_state",
"//ios/chrome/browser/crash_report",
"//ios/chrome/browser/favicon:favicon",
"//ios/chrome/browser/flags",
"//ios/chrome/browser/metrics",
"//ios/chrome/browser/ntp_tiles",
"//ios/chrome/browser/passwords",
......
......@@ -23,10 +23,10 @@
#include "components/strings/grit/components_chromium_strings.h"
#include "components/strings/grit/components_strings.h"
#include "components/version_info/version_info.h"
#include "ios/chrome/browser/about_flags.h"
#include "ios/chrome/browser/application_context.h"
#include "ios/chrome/browser/browser_state/chrome_browser_state.h"
#include "ios/chrome/browser/chrome_url_constants.h"
#include "ios/chrome/browser/flags/about_flags.h"
#include "ios/web/public/webui/web_ui_ios.h"
#include "ios/web/public/webui/web_ui_ios_data_source.h"
#include "ios/web/public/webui/web_ui_ios_message_handler.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment