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

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

Issue 2050933002: Upstream: Add additional checks before creating a WebAPK after clicking "Add to Homescreen" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge branch 'create_webapk_requirements_enum_class' into create_webapk_requirements2 Created 4 years, 5 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 {
11 class WebContents; 11 class WebContents;
12 } // namespace content 12 } // namespace content
13 13
14 namespace banners { 14 namespace banners {
15 15
16 // Error message strings used to notify developers via the console. 16 // Error message strings used to notify developers via the console.
17 17
18 enum class OutputDeveloperMessageCode { 18 enum class OutputDeveloperMessageCode {
19 kNone,
19 kRendererRequestCancel, 20 kRendererRequestCancel,
20 kManifestEmpty, 21 kManifestEmpty,
21 kNoManifest, 22 kNoManifest,
22 kNoIconMatchingRequirements, 23 kNoIconMatchingRequirements,
23 kCannotDownloadIcon, 24 kCannotDownloadIcon,
24 kNoMatchingServiceWorker, 25 kNoMatchingServiceWorker,
25 kNoIconAvailable, 26 kNoIconAvailable,
26 kUserNavigatedBeforeBannerShown, 27 kUserNavigatedBeforeBannerShown,
27 kStartURLNotValid, 28 kStartURLNotValid,
28 kManifestDisplayStandaloneFullscreen, 29 kManifestDisplayStandaloneFullscreen,
(...skipping 15 matching lines...) Expand all
44 // Logs a message to the main console if a banner could not be shown 45 // Logs a message to the main console if a banner could not be shown
45 // and the engagement checks have been bypassed. 46 // and the engagement checks have been bypassed.
46 void OutputDeveloperNotShownMessage(content::WebContents* web_contents, 47 void OutputDeveloperNotShownMessage(content::WebContents* web_contents,
47 OutputDeveloperMessageCode code, 48 OutputDeveloperMessageCode code,
48 const std::string& param, 49 const std::string& param,
49 bool is_debug_mode); 50 bool is_debug_mode);
50 51
51 } // namespace banners 52 } // namespace banners
52 53
53 #endif // CHROME_BROWSER_BANNERS_APP_BANNER_DEBUG_LOG_H_ 54 #endif // CHROME_BROWSER_BANNERS_APP_BANNER_DEBUG_LOG_H_
OLDNEW
« no previous file with comments | « chrome/browser/banners/app_banner_data_fetcher_unittest.cc ('k') | chrome/browser/banners/app_banner_debug_log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698