Skip to content

Commit

Permalink
Remove app_launch_for_metro_restart_win.cc (dead code).
Browse files Browse the repository at this point in the history
Bug: 558054
Change-Id: I51f838746263db44484f13c78d6a08d61a53f2a6
Reviewed-on: https://chromium-review.googlesource.com/1220966
Commit-Queue: Trent Apted <[email protected]>
Reviewed-by: Gabriel Charette <[email protected]>
Cr-Commit-Position: refs/heads/master@{#591601}
  • Loading branch information
tapted authored and Commit Bot committed Sep 16, 2018
1 parent 835ea3e commit 85c9b6a
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 149 deletions.
2 changes: 0 additions & 2 deletions chrome/browser/apps/platform_apps/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ assert(enable_extensions)

source_set("platform_apps") {
sources = [
"app_launch_for_metro_restart_win.cc",
"app_launch_for_metro_restart_win.h",
"app_load_service.cc",
"app_load_service.h",
"app_load_service_factory.cc",
Expand Down

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions chrome/browser/prefs/browser_prefs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,6 @@
#endif

#if defined(OS_WIN)
#include "chrome/browser/apps/platform_apps/app_launch_for_metro_restart_win.h"
#include "chrome/browser/browser_switcher/browser_switcher_prefs.h"
#include "chrome/browser/component_updater/sw_reporter_installer_win.h"
#if defined(GOOGLE_CHROME_BUILD)
Expand Down Expand Up @@ -492,7 +491,6 @@ void RegisterLocalState(PrefRegistrySimple* registry) {
#endif

#if defined(OS_WIN)
app_metro_launch::RegisterPrefs(registry);
component_updater::RegisterPrefsForSwReporter(registry);
desktop_ios_promotion::RegisterLocalPrefs(registry);
#if defined(GOOGLE_CHROME_BUILD)
Expand Down
4 changes: 0 additions & 4 deletions chrome/browser/prefs/pref_service_incognito_whitelist.cc
Original file line number Diff line number Diff line change
Expand Up @@ -309,10 +309,6 @@ const char* const kTemporaryIncognitoWhitelist[] = {
prefs::kAppListLocalState,
#endif // BUILDFLAG(ENABLE_APP_LIST)

#if defined(OS_WIN)
prefs::kAppLaunchForMetroRestart,
prefs::kAppLaunchForMetroRestartProfile,
#endif
prefs::kAppShortcutsVersion,

prefs::kModuleConflictBubbleShown,
Expand Down
3 changes: 0 additions & 3 deletions chrome/browser/ui/startup/startup_browser_creator_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,10 @@
#endif

#if defined(OS_WIN)
#include "base/win/windows_version.h"
#include "chrome/browser/apps/platform_apps/app_launch_for_metro_restart_win.h"
#if defined(GOOGLE_CHROME_BUILD)
#include "chrome/browser/conflicts/incompatible_applications_updater_win.h"
#endif // defined(GOOGLE_CHROME_BUILD)
#include "chrome/browser/notifications/notification_platform_bridge_win.h"
#include "chrome/browser/search_engines/template_url_service_factory.h"
#include "chrome/browser/shell_integration_win.h"
#endif // defined(OS_WIN)

Expand Down
11 changes: 0 additions & 11 deletions chrome/common/pref_names.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2165,17 +2165,6 @@ const char kRLZDisabled[] = "rlz.disabled";
const char kAppListLocalState[] = "app_list.local_state";
#endif

#if defined(OS_WIN)
// If set, the user requested to launch the app with this extension id while
// in Metro mode, and then relaunched to Desktop mode to start it.
const char kAppLaunchForMetroRestart[] = "apps.app_launch_for_metro_restart";

// Set with |kAppLaunchForMetroRestart|, the profile whose loading triggers
// launch of the specified app when restarting Chrome in desktop mode.
const char kAppLaunchForMetroRestartProfile[] =
"apps.app_launch_for_metro_restart_profile";
#endif

// An integer that is incremented whenever changes are made to app shortcuts.
// Increasing this causes all app shortcuts to be recreated.
const char kAppShortcutsVersion[] = "apps.shortcuts_version";
Expand Down
4 changes: 0 additions & 4 deletions chrome/common/pref_names.h
Original file line number Diff line number Diff line change
Expand Up @@ -760,10 +760,6 @@ extern const char kRLZDisabled[];
extern const char kAppListLocalState[];
#endif // BUILDFLAG(ENABLE_APP_LIST)

#if defined(OS_WIN)
extern const char kAppLaunchForMetroRestart[];
extern const char kAppLaunchForMetroRestartProfile[];
#endif
extern const char kAppShortcutsVersion[];

extern const char kModuleConflictBubbleShown[];
Expand Down

0 comments on commit 85c9b6a

Please sign in to comment.