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

Unified Diff: chrome/browser/banners/app_banner_debug_log.h

Issue 2156113002: Replace AppBannerDataFetcher with InstallableManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@banner-refactor
Patch Set: Naming, includes Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
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
deleted file mode 100644
index 2a8d80adab39655426d4cd337337acbd9da155d0..0000000000000000000000000000000000000000
--- a/chrome/browser/banners/app_banner_debug_log.h
+++ /dev/null
@@ -1,53 +0,0 @@
-// 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 {
-
-// Error message strings used to notify developers via the console.
-
-enum OutputDeveloperMessageCode {
- kRendererRequestCancel,
- kManifestEmpty,
- kNoManifest,
- kNoIconMatchingRequirements,
- kCannotDownloadIcon,
- kNoMatchingServiceWorker,
- kNoIconAvailable,
- kUserNavigatedBeforeBannerShown,
- kStartURLNotValid,
- kManifestDisplayStandaloneFullscreen,
- kManifestMissingNameOrShortName,
- kManifestMissingSuitableIcon,
- kNotLoadedInMainFrame,
- kNotServedFromSecureOrigin,
- kIgnoredNotSupportedOnAndroid,
- kIgnoredNoId,
- kIgnoredIdsDoNotMatch,
-};
-
-// Logs a message to the main console if a banner could not be shown
-// and the engagement checks have been bypassed.
-void OutputDeveloperNotShownMessage(content::WebContents* web_contents,
- OutputDeveloperMessageCode code,
- bool is_debug_mode);
-
-// Logs a message to the main console if a banner could not be shown
-// and the engagement checks have been bypassed.
-void OutputDeveloperNotShownMessage(content::WebContents* web_contents,
- OutputDeveloperMessageCode code,
- const std::string& param,
- bool is_debug_mode);
-
-} // namespace banners
-
-#endif // CHROME_BROWSER_BANNERS_APP_BANNER_DEBUG_LOG_H_
« 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