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

Side by Side Diff: ios/web/web_state/js/crw_js_early_script_manager.mm

Issue 1066103002: Removed CRWJSEarlyScriptManager from web/ public interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « ios/web/web_state/js/crw_js_early_script_manager.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/public/web_state/js/crw_js_early_script_manager.h" 5 #import "ios/web/web_state/js/crw_js_early_script_manager.h"
6 6
7 #import "ios/web/public/web_state/js/crw_js_injection_receiver.h" 7 #import "ios/web/public/web_state/js/crw_js_injection_receiver.h"
8 #import "ios/web/web_state/js/page_script_util.h" 8 #import "ios/web/web_state/js/page_script_util.h"
9 9
10 @implementation CRWJSEarlyScriptManager 10 @implementation CRWJSEarlyScriptManager
11 11
12 - (NSString*)staticInjectionContent { 12 - (NSString*)staticInjectionContent {
13 return web::GetEarlyPageScript(self.receiver.webViewType); 13 return web::GetEarlyPageScript(self.receiver.webViewType);
14 } 14 }
15 15
16 - (NSString*)presenceBeacon { 16 - (NSString*)presenceBeacon {
17 return @"__gCrWeb"; 17 return @"__gCrWeb";
18 } 18 }
19 19
20 @end 20 @end
OLDNEW
« no previous file with comments | « ios/web/web_state/js/crw_js_early_script_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698