blob: 4dbc0b7538f7f202a4811047050c4134ebd16003 [file] [log] [blame]
// Copyright (c) 2012 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.
namespace content {
class WebContents;
namespace chrome {
// Shows a warning notification in |web_contents| that the app was run with
// dangerous command line flags or dangerous flags in about:flags.
// On Android, this method doesn't check any flags which are not available in
// about:flags.
void ShowBadFlagsPrompt(content::WebContents* web_contents);
// Shows a warning about a specific flag. Exposed publicly only for testing;
// should otherwise be used only by ShowBadFlagsPrompt().
void ShowBadFlagsInfoBar(content::WebContents* web_contents,
int message_id,
const char* flag);
// Shows a warning dialog if the originally specified user data dir was invalid.
void MaybeShowInvalidUserDataDirWarningDialog();
} // namespace chrome