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

Side by Side Diff: chrome/browser/apps/app_url_redirector.cc

Issue 194333002: Move extension_messages.h to extensions/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge again Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « apps/launcher.cc ('k') | chrome/browser/chromeos/accessibility/accessibility_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/apps/app_url_redirector.h" 5 #include "chrome/browser/apps/app_url_redirector.h"
6 6
7 #include "apps/launcher.h" 7 #include "apps/launcher.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
11 #include "chrome/browser/profiles/profile_io_data.h" 11 #include "chrome/browser/profiles/profile_io_data.h"
12 #include "chrome/common/extensions/api/url_handlers/url_handlers_parser.h" 12 #include "chrome/common/extensions/api/url_handlers/url_handlers_parser.h"
13 #include "chrome/common/extensions/extension_messages.h"
14 #include "components/navigation_interception/intercept_navigation_resource_throt tle.h" 13 #include "components/navigation_interception/intercept_navigation_resource_throt tle.h"
15 #include "components/navigation_interception/navigation_params.h" 14 #include "components/navigation_interception/navigation_params.h"
16 #include "content/public/browser/browser_thread.h" 15 #include "content/public/browser/browser_thread.h"
17 #include "content/public/browser/render_view_host.h" 16 #include "content/public/browser/render_view_host.h"
18 #include "content/public/browser/resource_request_info.h" 17 #include "content/public/browser/resource_request_info.h"
19 #include "content/public/browser/resource_throttle.h" 18 #include "content/public/browser/resource_throttle.h"
20 #include "content/public/browser/web_contents.h" 19 #include "content/public/browser/web_contents.h"
21 #include "extensions/browser/info_map.h" 20 #include "extensions/browser/info_map.h"
22 #include "extensions/common/extension.h" 21 #include "extensions/common/extension.h"
22 #include "extensions/common/extension_messages.h"
23 #include "extensions/common/extension_set.h" 23 #include "extensions/common/extension_set.h"
24 #include "net/url_request/url_request.h" 24 #include "net/url_request/url_request.h"
25 25
26 using content::BrowserThread; 26 using content::BrowserThread;
27 using content::ResourceRequestInfo; 27 using content::ResourceRequestInfo;
28 using content::WebContents; 28 using content::WebContents;
29 using extensions::Extension; 29 using extensions::Extension;
30 using extensions::UrlHandlers; 30 using extensions::UrlHandlers;
31 using extensions::UrlHandlerInfo; 31 using extensions::UrlHandlerInfo;
32 32
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 request, 112 request,
113 base::Bind(&LaunchAppWithUrl, 113 base::Bind(&LaunchAppWithUrl,
114 scoped_refptr<const Extension>(*iter), 114 scoped_refptr<const Extension>(*iter),
115 handler->id)); 115 handler->id));
116 } 116 }
117 } 117 }
118 118
119 DVLOG(1) << "Skipping redirection: no matching app handler found"; 119 DVLOG(1) << "Skipping redirection: no matching app handler found";
120 return NULL; 120 return NULL;
121 } 121 }
OLDNEW
« no previous file with comments | « apps/launcher.cc ('k') | chrome/browser/chromeos/accessibility/accessibility_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698