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

Side by Side Diff: ios/web/webui/crw_web_ui_manager.mm

Issue 1133713009: Subject .mm files to the header sorting presubmit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase - of course... it would be one of my patches I conflict with :| Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #import "ios/web/webui/crw_web_ui_manager.h" 5 #import "ios/web/webui/crw_web_ui_manager.h"
6 6
7 #include "base/mac/bind_objc_block.h" 7 #include "base/mac/bind_objc_block.h"
8 #include "base/mac/scoped_nsobject.h" 8 #include "base/mac/scoped_nsobject.h"
9 #include "base/memory/scoped_vector.h" 9 #include "base/memory/scoped_vector.h"
10 #import "base/strings/sys_string_conversions.h" 10 #import "base/strings/sys_string_conversions.h"
11 #include "base/values.h" 11 #include "base/values.h"
12 #import "ios/web/net/request_group_util.h" 12 #import "ios/web/net/request_group_util.h"
13 #include "ios/web/public/browser_state.h" 13 #include "ios/web/public/browser_state.h"
14 #include "ios/web/public/web_client.h"
14 #import "ios/web/public/web_state/web_state_observer_bridge.h" 15 #import "ios/web/public/web_state/web_state_observer_bridge.h"
15 #include "ios/web/public/web_client.h"
16 #include "ios/web/web_state/web_state_impl.h" 16 #include "ios/web/web_state/web_state_impl.h"
17 #import "ios/web/webui/crw_web_ui_page_builder.h" 17 #import "ios/web/webui/crw_web_ui_page_builder.h"
18 #include "ios/web/webui/url_fetcher_block_adapter.h" 18 #include "ios/web/webui/url_fetcher_block_adapter.h"
19 #import "net/base/mac/url_conversions.h" 19 #import "net/base/mac/url_conversions.h"
20 20
21 namespace { 21 namespace {
22 // Prefix for history.requestFavicon JavaScript message. 22 // Prefix for history.requestFavicon JavaScript message.
23 const char kScriptCommandPrefix[] = "webui"; 23 const char kScriptCommandPrefix[] = "webui";
24 } 24 }
25 25
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 204
205 - (scoped_ptr<web::URLFetcherBlockAdapter>) 205 - (scoped_ptr<web::URLFetcherBlockAdapter>)
206 fetcherForURL:(const GURL&)URL 206 fetcherForURL:(const GURL&)URL
207 completionHandler:(web::URLFetcherBlockAdapterCompletion)handler { 207 completionHandler:(web::URLFetcherBlockAdapterCompletion)handler {
208 return scoped_ptr<web::URLFetcherBlockAdapter>( 208 return scoped_ptr<web::URLFetcherBlockAdapter>(
209 new web::URLFetcherBlockAdapter( 209 new web::URLFetcherBlockAdapter(
210 URL, _webState->GetBrowserState()->GetRequestContext(), handler)); 210 URL, _webState->GetBrowserState()->GetRequestContext(), handler));
211 } 211 }
212 212
213 @end 213 @end
OLDNEW
« no previous file with comments | « ios/web/web_state/ui/wk_web_view_configuration_provider_unittest.mm ('k') | media/base/mac/coremedia_glue.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698