Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(487)

Side by Side Diff: chrome/browser/banners/app_banner_debug_log.h

Issue 1569893003: Add "Request app banner" context menu in DevTools (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on https://codereview.chromium.org/1571633002/ Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_BANNERS_APP_BANNER_DEBUG_LOG_H_ 5 #ifndef CHROME_BROWSER_BANNERS_APP_BANNER_DEBUG_LOG_H_
6 #define CHROME_BROWSER_BANNERS_APP_BANNER_DEBUG_LOG_H_ 6 #define CHROME_BROWSER_BANNERS_APP_BANNER_DEBUG_LOG_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 namespace content { 10 namespace content {
(...skipping 15 matching lines...) Expand all
26 extern const char kManifestMissingNameOrShortName[]; 26 extern const char kManifestMissingNameOrShortName[];
27 extern const char kManifestMissingSuitableIcon[]; 27 extern const char kManifestMissingSuitableIcon[];
28 extern const char kNotServedFromSecureOrigin[]; 28 extern const char kNotServedFromSecureOrigin[];
29 extern const char kIgnoredNotSupportedOnAndroid[]; 29 extern const char kIgnoredNotSupportedOnAndroid[];
30 extern const char kIgnoredNoId[]; 30 extern const char kIgnoredNoId[];
31 extern const char kIgnoredIdsDoNotMatch[]; 31 extern const char kIgnoredIdsDoNotMatch[];
32 32
33 // Logs a message to the main console if a banner could not be shown 33 // Logs a message to the main console if a banner could not be shown
34 // and the engagement checks have been bypassed. 34 // and the engagement checks have been bypassed.
35 void OutputDeveloperNotShownMessage(content::WebContents* web_contents, 35 void OutputDeveloperNotShownMessage(content::WebContents* web_contents,
36 const std::string& message); 36 const std::string& message,
37 bool is_debug_mode);
37 38
38 // Logs a debugging message to the main console if the engagement checks have 39 // Logs a debugging message to the main console if the engagement checks have
39 // been bypassed. 40 // been bypassed.
40 void OutputDeveloperDebugMessage(content::WebContents* web_contents, 41 void OutputDeveloperDebugMessage(content::WebContents* web_contents,
41 const std::string& message); 42 const std::string& message,
43 bool is_debug_mode);
42 44
43 } // namespace banners 45 } // namespace banners
44 46
45 #endif // CHROME_BROWSER_BANNERS_APP_BANNER_DEBUG_LOG_H_ 47 #endif // CHROME_BROWSER_BANNERS_APP_BANNER_DEBUG_LOG_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698