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

Unified Diff: net/base/directory_lister.h

Issue 2894863002: Rename TaskRunner::RunsTasksOnCurrentThread() in //net (Closed)
Patch Set: fixed build error Created 3 years, 7 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
« no previous file with comments | « ios/chrome/browser/browser_state/chrome_browser_state_impl_io_data.mm ('k') | net/base/directory_lister.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/directory_lister.h
diff --git a/net/base/directory_lister.h b/net/base/directory_lister.h
index 4491c095d581863d56abdbaee1c7c713540345bc..d4e36c5f2c72800e89584b7c9c7a5d5b8a78c4f9 100644
--- a/net/base/directory_lister.h
+++ b/net/base/directory_lister.h
@@ -83,8 +83,8 @@ class NET_EXPORT DirectoryLister {
// refcounted, it's destroyed when the final reference is released, which may
// happen on either thread.
//
- // It's kept alive during the calls to Start() and DoneOnOriginThread() by the
- // reference owned by the callback itself.
+ // It's kept alive during the calls to Start() and DoneOnOriginSequence() by
+ // the reference owned by the callback itself.
class Core : public base::RefCountedThreadSafe<Core> {
public:
Core(const base::FilePath& dir, ListingType type, DirectoryLister* lister);
@@ -93,7 +93,7 @@ class NET_EXPORT DirectoryLister {
void Start();
// Must be called on the origin thread.
- void CancelOnOriginThread();
+ void CancelOnOriginSequence();
private:
friend class base::RefCountedThreadSafe<Core>;
@@ -105,8 +105,8 @@ class NET_EXPORT DirectoryLister {
bool IsCancelled() const;
// Called on origin thread.
- void DoneOnOriginThread(std::unique_ptr<DirectoryList> directory_list,
- int error) const;
+ void DoneOnOriginSequence(std::unique_ptr<DirectoryList> directory_list,
+ int error) const;
const base::FilePath dir_;
const ListingType type_;
« no previous file with comments | « ios/chrome/browser/browser_state/chrome_browser_state_impl_io_data.mm ('k') | net/base/directory_lister.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698