summaryrefslogtreecommitdiffstats
path: root/chrome/browser/web_app_launcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/web_app_launcher.h')
-rw-r--r--chrome/browser/web_app_launcher.h41
1 files changed, 0 insertions, 41 deletions
diff --git a/chrome/browser/web_app_launcher.h b/chrome/browser/web_app_launcher.h
deleted file mode 100644
index 7b377bf..0000000
--- a/chrome/browser/web_app_launcher.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2006-2008 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_WEB_APP_LAUNCHER_H__
-#define CHROME_BROWSER_WEB_APP_LAUNCHER_H__
-
-#include "chrome/browser/gears_integration.h"
-#include "googleurl/src/gurl.h"
-
-class Profile;
-
-// WebAppLauncher is used during startup to launch a web app (aka an installed
-// app).
-class WebAppLauncher {
- public:
- // Queries Gears for the name of the app, and when Gears callsback with the
- // response creates a WebApp and Browser.
- static void Launch(Profile* profile, const GURL& url);
-
- private:
- WebAppLauncher(Profile* profile, const GURL& url);
-
- // Invoked from the Launch method. Queries Gears for the apps. Gears callback
- // to OnGotApps.
- void Run();
-
- // Callback from Gears when list of apps is available. Creates WebApp and
- // Browser.
- void OnGotApps(GearsShortcutList* apps);
-
- Profile* profile_;
-
- // URL of the app.
- const GURL url_;
-
- DISALLOW_EVIL_CONSTRUCTORS(WebAppLauncher);
-};
-
-#endif // CHROME_BROWSER_WEB_APP_LAUNCHER_H__
-