Index: chrome/browser/extensions/launch_util.h |
diff --git a/chrome/browser/extensions/launch_util.h b/chrome/browser/extensions/launch_util.h |
index a429c7e047f1e150ed5b6f3c49877bf560f5c769..0cdfb72fa484d4244b6c6822d1e399f4233055cd 100644 |
--- a/chrome/browser/extensions/launch_util.h |
+++ b/chrome/browser/extensions/launch_util.h |
@@ -1,4 +1,4 @@ |
-// Copyright 2013 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2013 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. |
@@ -7,32 +7,16 @@ |
#include <string> |
-#include "extensions/common/constants.h" |
+#include "chrome/common/extensions/extension_constants.h" |
namespace extensions { |
class Extension; |
class ExtensionPrefs; |
-// This enum is used for the launch type the user wants to use for an |
-// application. |
-// Do not remove items or re-order this enum as it is used in preferences |
-// and histograms. |
-enum LaunchType { |
- LAUNCH_TYPE_PINNED, |
- LAUNCH_TYPE_REGULAR, |
- LAUNCH_TYPE_FULLSCREEN, |
- LAUNCH_TYPE_WINDOW, |
- |
- // Launch an app in the in the way a click on the NTP would, |
- // if no user pref were set. Update this constant to change |
- // the default for the NTP and chrome.management.launchApp(). |
- LAUNCH_TYPE_DEFAULT = LAUNCH_TYPE_REGULAR |
-}; |
- |
// Gets the launch type preference. If no preference is set, returns |
-// LAUNCH_DEFAULT. |
-// Returns LAUNCH_WINDOW if there's no preference and |
+// LAUNCH_TYPE_DEFAULT. |
+// Returns LAUNCH_TYPE_WINDOW if there's no preference and |
// 'streamlined hosted apps' are enabled. |
LaunchType GetLaunchType(const ExtensionPrefs* prefs, |
const Extension* extension); |