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

Unified Diff: chrome/browser/chromeos/file_manager/app_installer.h

Issue 61463003: file_manager: Rename file_manager::FileManagerInstaller to file_manager::AppInstaller (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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/chromeos/file_manager/app_installer.h
diff --git a/chrome/browser/chromeos/file_manager/file_manager_installer.h b/chrome/browser/chromeos/file_manager/app_installer.h
similarity index 76%
rename from chrome/browser/chromeos/file_manager/file_manager_installer.h
rename to chrome/browser/chromeos/file_manager/app_installer.h
index 090d5da97c97229eadd6084aeb1c1b799ebf6b3f..4fcb42f0cea0b77de9a628dd7d81b35bf0439143 100644
--- a/chrome/browser/chromeos/file_manager/file_manager_installer.h
+++ b/chrome/browser/chromeos/file_manager/app_installer.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_CHROMEOS_FILE_MANAGER_FILE_MANAGER_INSTALLER_H_
-#define CHROME_BROWSER_CHROMEOS_FILE_MANAGER_FILE_MANAGER_INSTALLER_H_
+#ifndef CHROME_BROWSER_CHROMEOS_FILE_MANAGER_APP_INSTALLER_H_
+#define CHROME_BROWSER_CHROMEOS_FILE_MANAGER_APP_INSTALLER_H_
#include <string>
@@ -17,21 +17,22 @@ class WebContents;
namespace file_manager {
-// Installer for Files.app.
-class FileManagerInstaller
+// This class is used for installing apps and extensions suggested from the
+// Chrome Web Store for unsupported file types, inside Files.app.
+class AppInstaller
: public extensions::WebstoreStandaloneInstaller {
public:
typedef extensions::WebstoreStandaloneInstaller::Callback Callback;
- FileManagerInstaller(content::WebContents* web_contents,
+ AppInstaller(content::WebContents* web_contents,
const std::string& webstore_item_id,
Profile* profile,
const Callback& callback);
protected:
- friend class base::RefCountedThreadSafe<FileManagerInstaller>;
+ friend class base::RefCountedThreadSafe<AppInstaller>;
- virtual ~FileManagerInstaller();
+ virtual ~AppInstaller();
void OnWebContentsDestroyed(content::WebContents* web_contents);
@@ -57,9 +58,9 @@ class FileManagerInstaller
content::WebContents* web_contents_;
scoped_ptr<WebContentsObserver> web_contents_observer_;
- DISALLOW_IMPLICIT_CONSTRUCTORS(FileManagerInstaller);
+ DISALLOW_IMPLICIT_CONSTRUCTORS(AppInstaller);
};
} // namespace file_manager
-#endif // CHROME_BROWSER_CHROMEOS_FILE_MANAGER_FILE_MANAGER_INSTALLER_H_
+#endif // CHROME_BROWSER_CHROMEOS_FILE_MANAGER_APP_INSTALLER_H_

Powered by Google App Engine
This is Rietveld 408576698