• Joe Downing's avatar
    Cleaning up PolicyWatcher Create methods · 734d0151
    Joe Downing authored
    This change is related to the TaskScheduler cleanup work.
    PolicyWatcher::Create was tagged to have BrowserThread::FILE removed,
    however it was only mentioned in the comments.  This comment could
    have been removed, but I wanted to update the method names / params
    to make the PolicyWatcher initialization mechanism more obvious.
    
    This change splits the Create() method into two methods and updates
    the callsites.  I wanted to keep a single, private Create method to
    keep the per-OS creation logic intact.
    
    
    Bug: 
    Change-Id: Ie4b4788a4d313414819b31ab5e1fca77781d1df3
    Reviewed-on: https://chromium-review.googlesource.com/572442Reviewed-by: default avatarSergey Ulanov <sergeyu@chromium.org>
    Commit-Queue: Joe Downing <joedow@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#487361}
    734d0151
policy_watcher.h 6.71 KB