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

Side by Side Diff: ios/web/shell/shell_web_client.h

Issue 1544743002: Switch to standard integer types in ios/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/shell/shell_url_request_context_getter.h ('k') | ios/web/shell/view_controller.mm » ('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 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 #ifndef IOS_WEB_SHELL_SHELL_WEB_CLIENT_H_ 5 #ifndef IOS_WEB_SHELL_SHELL_WEB_CLIENT_H_
6 #define IOS_WEB_SHELL_SHELL_WEB_CLIENT_H_ 6 #define IOS_WEB_SHELL_SHELL_WEB_CLIENT_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
10 #include "ios/web/public/web_client.h" 11 #include "ios/web/public/web_client.h"
11 12
12 namespace web { 13 namespace web {
13 class ShellBrowserState; 14 class ShellBrowserState;
14 class ShellWebMainParts; 15 class ShellWebMainParts;
15 16
16 class ShellWebClient : public WebClient { 17 class ShellWebClient : public WebClient {
17 public: 18 public:
18 ShellWebClient(); 19 ShellWebClient();
19 ~ShellWebClient() override; 20 ~ShellWebClient() override;
20 21
21 // WebClient implementation. 22 // WebClient implementation.
22 WebMainParts* CreateWebMainParts() override; 23 WebMainParts* CreateWebMainParts() override;
23 std::string GetProduct() const override; 24 std::string GetProduct() const override;
24 std::string GetUserAgent(bool desktop_user_agent) const override; 25 std::string GetUserAgent(bool desktop_user_agent) const override;
25 26
26 ShellBrowserState* browser_state() const; 27 ShellBrowserState* browser_state() const;
27 28
28 private: 29 private:
29 scoped_ptr<ShellWebMainParts> web_main_parts_; 30 scoped_ptr<ShellWebMainParts> web_main_parts_;
30 31
31 DISALLOW_COPY_AND_ASSIGN(ShellWebClient); 32 DISALLOW_COPY_AND_ASSIGN(ShellWebClient);
32 }; 33 };
33 34
34 } // namespace web 35 } // namespace web
35 36
36 #endif // IOS_WEB_SHELL_SHELL_WEB_CLIENT_H_ 37 #endif // IOS_WEB_SHELL_SHELL_WEB_CLIENT_H_
OLDNEW
« no previous file with comments | « ios/web/shell/shell_url_request_context_getter.h ('k') | ios/web/shell/view_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698