• Dominick Ng's avatar
    Introduce AppsNavigationThrottle, and move ArcNavigationThrottle creation into it. · 7c289942
    Dominick Ng authored
    This CL creates the chrome/browser/chromeos/apps directory, which will
    contain code to facilitate the different apps platforms on Chrome OS
    interoperating with each other and the Chrome OS system.
    
    Much of the initial work will be to take existing integrations for
    ARC++, and make them sufficiently generic so that other app platforms
    can use them. We first focus on the ARC++ intent helper, which allows
    users to open an app from the omnibox.
    
    This CL moves construction of the ArcNavigationThrottle, which controls
    the appearance of the intent helper, from ChromeContentBrowserClient
    into a new AppsNavigationThrottle. Follow-up CLs will begin to split
    ArcNavigationThrottle so that the throttle-specific code is moved to
    AppsNavigationThrottle. The change in this CL means that the follow-up
    refactoring will not need to change ChromeContentBrowserClient again.
    
    BUG=824598
    
    Change-Id: I4062a198b631215709deeab80fe669e0aea53857
    Reviewed-on: https://chromium-review.googlesource.com/974761Reviewed-by: default avatarSatoru Takabayashi <satorux@chromium.org>
    Reviewed-by: default avatarElijah Taylor <elijahtaylor@chromium.org>
    Reviewed-by: default avatarDavid Jacobo <djacobo@chromium.org>
    Commit-Queue: Dominick Ng <dominickn@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#546036}
    7c289942
chrome_content_browser_client.cc 166 KB