forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This reverts commit d869ab3. Reason for revert: this breaks automation scenarios in the field, see crbug.com/820555. Original change's description: > Remove --disable-infobars. > > This flag is no longer needed by the perf testing infrastructure and can be > misused for malicious purposes, so remove it. > > BUG=none > TEST=none > > Change-Id: Iaa875bc887a5a1564ca10ef7d3c2d760a1f7cb11 > Reviewed-on: https://chromium-review.googlesource.com/857604 > Reviewed-by: Pavel Feldman <pfeldman@chromium.org> > Reviewed-by: Egor Pasko <pasko@chromium.org> > Commit-Queue: Peter Kasting <pkasting@chromium.org> > Cr-Commit-Position: refs/heads/master@{#528386} TBR=pasko@chromium.org,pkasting@chromium.org,pfeldman@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: none Change-Id: I865b1ee1db7d795cf88d2b65cff404c8936b22ce Reviewed-on: https://chromium-review.googlesource.com/957602 Commit-Queue: Pavel Feldman <pfeldman@chromium.org> Reviewed-by: Pavel Feldman <pfeldman@chromium.org> Reviewed-by: Peter Kasting <pkasting@chromium.org> Cr-Commit-Position: refs/heads/master@{#542669}
- Loading branch information
1 parent
0d2f435
commit 1e40985
Showing
8 changed files
with
84 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// Copyright 2014 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. | ||
|
||
#include "components/infobars/core/infobars_switches.h" | ||
|
||
namespace infobars { | ||
namespace switches { | ||
|
||
// Prevent infobars from appearing. | ||
const char kDisableInfoBars[] = "disable-infobars"; | ||
|
||
} // namespace switches | ||
} // namespace infobars |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// Copyright 2014 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. | ||
|
||
#ifndef COMPONENTS_INFOBARS_CORE_INFOBARS_SWITCHES_H_ | ||
#define COMPONENTS_INFOBARS_CORE_INFOBARS_SWITCHES_H_ | ||
|
||
namespace infobars { | ||
namespace switches { | ||
|
||
extern const char kDisableInfoBars[]; | ||
|
||
} // namespace switches | ||
} // namespace infobars | ||
|
||
#endif // COMPONENTS_INFOBARS_CORE_INFOBARS_SWITCHES_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters