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

Side by Side Diff: chrome/browser/chromeos/arc/arc_navigation_throttle.cc

Issue 2415983002: Move page_transition_util to components/arc/intent_helper/ (Closed)
Patch Set: Created 4 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/chromeos/arc/arc_navigation_throttle.h" 5 #include "chrome/browser/chromeos/arc/arc_navigation_throttle.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/metrics/histogram_macros.h" 12 #include "base/metrics/histogram_macros.h"
13 #include "chrome/browser/chromeos/arc/page_transition_util.h"
14 #include "components/arc/arc_bridge_service.h" 13 #include "components/arc/arc_bridge_service.h"
15 #include "components/arc/arc_service_manager.h" 14 #include "components/arc/arc_service_manager.h"
16 #include "components/arc/intent_helper/arc_intent_helper_bridge.h" 15 #include "components/arc/intent_helper/arc_intent_helper_bridge.h"
17 #include "components/arc/intent_helper/local_activity_resolver.h" 16 #include "components/arc/intent_helper/local_activity_resolver.h"
17 #include "components/arc/intent_helper/page_transition_util.h"
18 #include "content/public/browser/browser_thread.h" 18 #include "content/public/browser/browser_thread.h"
19 #include "content/public/browser/navigation_controller.h" 19 #include "content/public/browser/navigation_controller.h"
20 #include "content/public/browser/navigation_handle.h" 20 #include "content/public/browser/navigation_handle.h"
21 #include "content/public/browser/web_contents.h" 21 #include "content/public/browser/web_contents.h"
22 #include "net/base/registry_controlled_domains/registry_controlled_domain.h" 22 #include "net/base/registry_controlled_domains/registry_controlled_domain.h"
23 #include "ui/base/page_transition_types.h" 23 #include "ui/base/page_transition_types.h"
24 #include "url/gurl.h" 24 #include "url/gurl.h"
25 25
26 namespace arc { 26 namespace arc {
27 27
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 } 293 }
294 294
295 // static 295 // static
296 bool ArcNavigationThrottle::ShouldOverrideUrlLoadingForTesting( 296 bool ArcNavigationThrottle::ShouldOverrideUrlLoadingForTesting(
297 const GURL& previous_url, 297 const GURL& previous_url,
298 const GURL& current_url) { 298 const GURL& current_url) {
299 return ShouldOverrideUrlLoading(previous_url, current_url); 299 return ShouldOverrideUrlLoading(previous_url, current_url);
300 } 300 }
301 301
302 } // namespace arc 302 } // namespace arc
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/arc/arc_external_protocol_dialog.cc ('k') | chrome/browser/chromeos/arc/page_transition_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698