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

Unified Diff: chrome/browser/web_app_launcher.h

Issue 19746: Remove old web app code it's no longer needed. Simplifies startup a little. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 months 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/web_app_launcher.h
===================================================================
--- chrome/browser/web_app_launcher.h (revision 9030)
+++ chrome/browser/web_app_launcher.h (working copy)
@@ -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__
-

Powered by Google App Engine
This is Rietveld 408576698