diff options
author | Satoru Takabayashi <satorux@google.com> | 2014-09-10 13:20:24 +0900 |
---|---|---|
committer | Satoru Takabayashi <satorux@google.com> | 2014-09-10 04:28:14 +0000 |
commit | 74e7c1c9210405bc5a3972b7530132fdaf33a7a9 (patch) | |
tree | e33f06d3ad0e6027a45aad82b36fd018731cd4f4 /chrome/browser/chromeos/file_manager/file_browser_handlers.cc | |
parent | 8c5d2222d85ac25b328cbbf15e7075fc08b2c2e6 (diff) | |
download | chromium_src-74e7c1c9210405bc5a3972b7530132fdaf33a7a9.zip chromium_src-74e7c1c9210405bc5a3972b7530132fdaf33a7a9.tar.gz chromium_src-74e7c1c9210405bc5a3972b7530132fdaf33a7a9.tar.bz2 |
Rename fileBrowserPrivate to fileManagerPrivate
fileBrowserPrivate was a misnomer as the term "file manager"
is used everywhere else (ex. src/ui/file_manager).
Note that fileBrowserHandler is not renamed because it's a
public API.
TEST=git grep -E -i file.?browser.?private || echo ok
BUG=411762
R=achuith@chromium.org, asvitkine@chromium.org, benwells@chromium.org, mtomasz@chromium.org, thestig@chromium.org, yoshiki@chromium.org
Review URL: https://codereview.chromium.org/550863003
Cr-Commit-Position: refs/heads/master@{#294101}
Diffstat (limited to 'chrome/browser/chromeos/file_manager/file_browser_handlers.cc')
-rw-r--r-- | chrome/browser/chromeos/file_manager/file_browser_handlers.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/chromeos/file_manager/file_browser_handlers.cc b/chrome/browser/chromeos/file_manager/file_browser_handlers.cc index 8f5fac8..e7d2e2a 100644 --- a/chrome/browser/chromeos/file_manager/file_browser_handlers.cc +++ b/chrome/browser/chromeos/file_manager/file_browser_handlers.cc @@ -18,7 +18,7 @@ #include "chrome/browser/profiles/profile.h" #include "chrome/browser/ui/browser_finder.h" #include "chrome/common/extensions/api/file_browser_handlers/file_browser_handler.h" -#include "chrome/common/extensions/api/file_browser_private.h" +#include "chrome/common/extensions/api/file_manager_private.h" #include "content/public/browser/browser_thread.h" #include "content/public/browser/child_process_security_policy.h" #include "content/public/browser/render_process_host.h" @@ -303,8 +303,8 @@ void FileBrowserHandlerExecutor::ExecuteDoneOnUIThread(bool success) { if (!done_.is_null()) done_.Run( success - ? extensions::api::file_browser_private::TASK_RESULT_MESSAGE_SENT - : extensions::api::file_browser_private::TASK_RESULT_FAILED); + ? extensions::api::file_manager_private::TASK_RESULT_MESSAGE_SENT + : extensions::api::file_manager_private::TASK_RESULT_FAILED); delete this; } @@ -473,7 +473,7 @@ bool ExecuteFileBrowserHandler( if (ShouldBeOpenedWithBrowser(extension->id(), action_id)) { const bool result = OpenFilesWithBrowser(profile, file_urls); if (result && !done.is_null()) - done.Run(extensions::api::file_browser_private::TASK_RESULT_OPENED); + done.Run(extensions::api::file_manager_private::TASK_RESULT_OPENED); return result; } |