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

Side by Side Diff: ios/web/ui_web_view_util.h

Issue 1043243003: Upstream most of ios/web/net (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove accidentally-added clients 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/public/test/test_web_client.mm ('k') | ios/web/ui_web_view_util.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef IOS_WEB_UI_WEB_VIEW_UTIL_H_
6 #define IOS_WEB_UI_WEB_VIEW_UTIL_H_
7
8 #include <Foundation/Foundation.h>
9
10 namespace web {
11
12 // Registers the user agent encoding |request_group_id| in the user defaults.
13 // This is a utility method, used to workaround crbug.com/228397. Do not use
14 // it for other purposes.
15 void BuildAndRegisterUserAgentForUIWebView(NSString* request_group_id,
16 BOOL use_desktop_user_agent);
17
18 // Registers |user_agent| as the user agent string to be used by the UIWebView
19 // instances that are created from now on.
20 void RegisterUserAgentForUIWebView(NSString* user_agent);
21
22 } // namespace web
23
24 #endif // IOS_WEB_UI_WEB_VIEW_UTIL_H_
OLDNEW
« no previous file with comments | « ios/web/public/test/test_web_client.mm ('k') | ios/web/ui_web_view_util.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698