Commit fbcd3823 authored by jam@chromium.org's avatar jam@chromium.org

Get rid of debug_flags.h includes from ui tests base class. Developers don't...

Get rid of debug_flags.h includes from ui tests base class. Developers don't debug the few remaining tests so this isn't needed, and if they really want to pass these flags, they can use --extra-chrome-flags.

BUG=98716
Review URL: https://chromiumcodereview.appspot.com/10855149

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151499 0039d316-1c4b-4281-b951-d872f2087c98
parent 04be7d4e
......@@ -9,13 +9,6 @@ include_rules = [
# within content/ and a test within chrome/.
"+content/public",
# TODO(joi): Need to remove all of these and use only content/public, see
# http://crbug.com/98716
# DO NOT ADD ANY MORE ITEMS TO THE LIST BELOW!
"!content/common/debug_flags.h",
"!content/renderer/mock_content_renderer_client.h",
# DO NOT ADD ANY MORE ITEMS TO THE ABOVE LIST!
"+grit", # For generated headers
"+media/audio",
"+sandbox/win/src",
......
......@@ -25,7 +25,6 @@
#include "chrome/test/base/test_launcher_utils.h"
#include "chrome/test/base/test_switches.h"
#include "chrome/test/ui/ui_test.h"
#include "content/common/debug_flags.h"
#include "content/public/common/process_type.h"
#include "ipc/ipc_channel.h"
#include "ipc/ipc_descriptors.h"
......@@ -436,8 +435,6 @@ bool ProxyLauncher::LaunchBrowserHelper(const LaunchState& state,
// Add command line arguments that should be applied to all UI tests.
PrepareTestCommandline(&command_line, state.include_testing_id);
DebugFlags::ProcessDebugFlags(
&command_line, content::PROCESS_TYPE_UNKNOWN, false);
// Sometimes one needs to run the browser under a special environment
// (e.g. valgrind) without also running the test harness (e.g. python)
......
......@@ -48,7 +48,6 @@
#include "chrome/test/base/testing_profile.h"
#include "chrome/test/base/test_launcher_utils.h"
#include "chrome/test/base/test_switches.h"
#include "content/common/debug_flags.h"
#include "googleurl/src/gurl.h"
#include "net/base/net_util.h"
#include "ui/gl/gl_implementation.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