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

Unified Diff: chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc

Issue 23715003: Files.app: Rename the FileBrowserPrivateAPI's functions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed the comments. Created 7 years, 4 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/chromeos/extensions/file_manager/private_api_misc.cc
diff --git a/chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc b/chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc
index fbcf8a8e8a8b27e74017739dae1fc12b3eea87a7..41ef1315d3a50215b4d40ed0d9aae6b947a945f9 100644
--- a/chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc
+++ b/chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc
@@ -20,24 +20,26 @@
namespace extensions {
-LogoutUserFunction::LogoutUserFunction() {
+FileBrowserPrivateLogoutUserFunction::FileBrowserPrivateLogoutUserFunction() {
}
-LogoutUserFunction::~LogoutUserFunction() {
+FileBrowserPrivateLogoutUserFunction::~FileBrowserPrivateLogoutUserFunction() {
}
-bool LogoutUserFunction::RunImpl() {
+bool FileBrowserPrivateLogoutUserFunction::RunImpl() {
chrome::AttemptUserExit();
return true;
}
-GetPreferencesFunction::GetPreferencesFunction() {
+FileBrowserPrivateGetPreferencesFunction::
+ FileBrowserPrivateGetPreferencesFunction() {
}
-GetPreferencesFunction::~GetPreferencesFunction() {
+FileBrowserPrivateGetPreferencesFunction::
+ ~FileBrowserPrivateGetPreferencesFunction() {
}
-bool GetPreferencesFunction::RunImpl() {
+bool FileBrowserPrivateGetPreferencesFunction::RunImpl() {
scoped_ptr<DictionaryValue> value(new DictionaryValue());
const PrefService* service = profile_->GetPrefs();
@@ -69,13 +71,15 @@ bool GetPreferencesFunction::RunImpl() {
return true;
}
-SetPreferencesFunction::SetPreferencesFunction() {
+FileBrowserPrivateSetPreferencesFunction::
+ FileBrowserPrivateSetPreferencesFunction() {
}
-SetPreferencesFunction::~SetPreferencesFunction() {
+FileBrowserPrivateSetPreferencesFunction::
+ ~FileBrowserPrivateSetPreferencesFunction() {
}
-bool SetPreferencesFunction::RunImpl() {
+bool FileBrowserPrivateSetPreferencesFunction::RunImpl() {
base::DictionaryValue* value = NULL;
if (!args_->GetDictionary(0, &value) || !value)
@@ -95,13 +99,15 @@ bool SetPreferencesFunction::RunImpl() {
return true;
}
-ZipSelectionFunction::ZipSelectionFunction() {
+FileBrowserPrivateZipSelectionFunction::
+ FileBrowserPrivateZipSelectionFunction() {
}
-ZipSelectionFunction::~ZipSelectionFunction() {
+FileBrowserPrivateZipSelectionFunction::
+ ~FileBrowserPrivateZipSelectionFunction() {
}
-bool ZipSelectionFunction::RunImpl() {
+bool FileBrowserPrivateZipSelectionFunction::RunImpl() {
if (args_->GetSize() < 3) {
return false;
}
@@ -167,19 +173,19 @@ bool ZipSelectionFunction::RunImpl() {
return true;
}
-void ZipSelectionFunction::OnZipDone(bool success) {
+void FileBrowserPrivateZipSelectionFunction::OnZipDone(bool success) {
SetResult(new base::FundamentalValue(success));
SendResponse(true);
Release();
}
-ZoomFunction::ZoomFunction() {
+FileBrowserPrivateZoomFunction::FileBrowserPrivateZoomFunction() {
}
-ZoomFunction::~ZoomFunction() {
+FileBrowserPrivateZoomFunction::~FileBrowserPrivateZoomFunction() {
}
-bool ZoomFunction::RunImpl() {
+bool FileBrowserPrivateZoomFunction::RunImpl() {
content::RenderViewHost* const view_host = render_view_host();
std::string operation;
args_->GetString(0, &operation);

Powered by Google App Engine
This is Rietveld 408576698