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

Unified Diff: chrome/browser/apps/drive/drive_app_converter.h

Issue 308003005: app_list: Drive app integration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: for comemnts in #5 Created 6 years, 6 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/apps/drive/drive_app_converter.h
diff --git a/chrome/browser/ui/app_list/drive/drive_app_converter.h b/chrome/browser/apps/drive/drive_app_converter.h
similarity index 90%
rename from chrome/browser/ui/app_list/drive/drive_app_converter.h
rename to chrome/browser/apps/drive/drive_app_converter.h
index d153c9f2f710c5241926ce56cfa586bf4fc45717..0abc9e235ae2a82da8def40a3c0b8f0d805c1736 100644
--- a/chrome/browser/ui/app_list/drive/drive_app_converter.h
+++ b/chrome/browser/apps/drive/drive_app_converter.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_UI_APP_LIST_DRIVE_DRIVE_APP_CONVERTER_H_
-#define CHROME_BROWSER_UI_APP_LIST_DRIVE_DRIVE_APP_CONVERTER_H_
+#ifndef CHROME_BROWSER_APPS_DRIVE_DRIVE_APP_CONVERTER_H_
+#define CHROME_BROWSER_APPS_DRIVE_DRIVE_APP_CONVERTER_H_
#include <string>
@@ -15,13 +15,13 @@
#include "chrome/browser/extensions/install_observer.h"
#include "chrome/common/web_application_info.h"
+class Profile;
+
namespace extensions {
class CrxInstaller;
class Extension;
}
-class Profile;
-
// DriveAppConverter creates and installs a local URL app for the given
// DriveAppInfo into the given profile.
class DriveAppConverter : public extensions::InstallObserver {
@@ -35,6 +35,7 @@ class DriveAppConverter : public extensions::InstallObserver {
virtual ~DriveAppConverter();
void Start();
+ bool IsStarted() const;
const drive::DriveAppInfo& app_info() const { return app_info_; }
const extensions::Extension* app() const { return app_; }
@@ -66,4 +67,4 @@ class DriveAppConverter : public extensions::InstallObserver {
DISALLOW_COPY_AND_ASSIGN(DriveAppConverter);
};
-#endif // CHROME_BROWSER_UI_APP_LIST_DRIVE_DRIVE_APP_CONVERTER_H_
+#endif // CHROME_BROWSER_APPS_DRIVE_DRIVE_APP_CONVERTER_H_

Powered by Google App Engine
This is Rietveld 408576698