Chromium Code Reviews| Index: chrome/browser/banners/app_banner_debug_log.h |
| diff --git a/chrome/browser/banners/app_banner_debug_log.h b/chrome/browser/banners/app_banner_debug_log.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..a318f29eec5d2fc18e0e26813fc62d441a46d660 |
| --- /dev/null |
| +++ b/chrome/browser/banners/app_banner_debug_log.h |
| @@ -0,0 +1,23 @@ |
| +// Copyright 2015 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 CHROME_BROWSER_BANNERS_APP_BANNER_DEBUG_LOG_H_ |
| +#define CHROME_BROWSER_BANNERS_APP_BANNER_DEBUG_LOG_H_ |
| + |
| +#include <string> |
| + |
| +namespace content { |
| +class WebContents; |
| +} // namespace content |
| + |
| +namespace banners { |
|
benwells
2015/05/11 08:08:40
Since we have a shiny new file (yay!) it would be
dominickn (DO NOT USE)
2015/05/12 07:41:31
Done.
|
| + |
| +// Logs a debug message to the main console if a banner could not be shown |
| +// and the engagement checks have been bypassed. |
| +void SendDebugMessage(content::WebContents* web_contents, |
| + const std::string& message); |
| + |
| +}; // namespace banners |
| + |
| +#endif // CHROME_BROWSER_BANNERS_APP_BANNER_DEBUG_LOG_H_ |