Commit 692bd751 authored by Mike Jackson's avatar Mike Jackson Committed by Commit Bot

dpwa: Clean up ProviderType

DesktopPWAsWithoutExtensions has shipped and tests have been
migrated, so removing unused enums and functions.


Bug: 1065748
Change-Id: I701e516ebf016e81487f684f535252135ff9119b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2466169
Commit-Queue: Eric Willigers <ericwilligers@chromium.org>
Reviewed-by: default avatarEric Willigers <ericwilligers@chromium.org>
Cr-Commit-Position: refs/heads/master@{#816329}
parent a8a4bfec
...@@ -9,16 +9,6 @@ ...@@ -9,16 +9,6 @@
namespace web_app { namespace web_app {
std::string ProviderTypeParamToString(
const ::testing::TestParamInfo<ProviderType>& provider_type) {
switch (provider_type.param) {
case ProviderType::kBookmarkApps:
return "BookmarkApps";
case ProviderType::kWebApps:
return "WebApps";
}
}
void TestAcceptDialogCallback( void TestAcceptDialogCallback(
content::WebContents* initiator_web_contents, content::WebContents* initiator_web_contents,
std::unique_ptr<WebApplicationInfo> web_app_info, std::unique_ptr<WebApplicationInfo> web_app_info,
......
...@@ -20,11 +20,6 @@ class WebContents; ...@@ -20,11 +20,6 @@ class WebContents;
namespace web_app { namespace web_app {
enum class ProviderType { kBookmarkApps, kWebApps };
std::string ProviderTypeParamToString(
const ::testing::TestParamInfo<ProviderType>& provider_type);
void TestAcceptDialogCallback( void TestAcceptDialogCallback(
content::WebContents* initiator_web_contents, content::WebContents* initiator_web_contents,
std::unique_ptr<WebApplicationInfo> web_app_info, std::unique_ptr<WebApplicationInfo> web_app_info,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment