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

Unified Diff: chrome/browser/ui/app_list/app_list_controller_delegate.h

Issue 105733003: Move LaunchType out of ExtensionPrefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix indenting Created 7 years 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/ui/app_list/app_list_controller_delegate.h
diff --git a/chrome/browser/ui/app_list/app_list_controller_delegate.h b/chrome/browser/ui/app_list/app_list_controller_delegate.h
index e7e045d3e0d2ff521a97e8d43b6c7013a6fd86c4..73dbca416f17a87d4687e2aeaaae3eac1dcf4392 100644
--- a/chrome/browser/ui/app_list/app_list_controller_delegate.h
+++ b/chrome/browser/ui/app_list/app_list_controller_delegate.h
@@ -7,7 +7,7 @@
#include <string>
-#include "chrome/browser/extensions/extension_prefs.h"
+#include "chrome/browser/extensions/launch_util.h"
#include "ui/gfx/native_widget_types.h"
class ExtensionSet;
@@ -130,12 +130,12 @@ class AppListControllerDelegate {
// Gets/sets the launch type for an app.
// The launch type specifies whether a hosted app should launch as a separate
// window, fullscreened or as a tab.
- extensions::ExtensionPrefs::LaunchType GetExtensionLaunchType(
+ extensions::LaunchType GetExtensionLaunchType(
Profile* profile, const std::string& app_id);
virtual void SetExtensionLaunchType(
Profile* profile,
const std::string& extension_id,
- extensions::ExtensionPrefs::LaunchType launch_type);
+ extensions::LaunchType launch_type);
// Returns true if the given extension is installed.
bool IsExtensionInstalled(Profile* profile, const std::string& app_id);
« no previous file with comments | « chrome/browser/ui/app_list/app_context_menu.cc ('k') | chrome/browser/ui/app_list/app_list_controller_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698