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

Side by Side Diff: ios/web/webui/shared_resources_data_source_ios.h

Issue 1544743002: Switch to standard integer types in ios/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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_view_creation_util.mm ('k') | ios/web/webui/shared_resources_data_source_ios.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 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_WEBUI_SHARED_RESOURCES_DATA_SOURCE_IOS_H_ 5 #ifndef IOS_WEB_WEBUI_SHARED_RESOURCES_DATA_SOURCE_IOS_H_
6 #define IOS_WEB_WEBUI_SHARED_RESOURCES_DATA_SOURCE_IOS_H_ 6 #define IOS_WEB_WEBUI_SHARED_RESOURCES_DATA_SOURCE_IOS_H_
7 7
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h"
10 #include "ios/web/public/url_data_source_ios.h" 10 #include "ios/web/public/url_data_source_ios.h"
11 11
12 namespace web { 12 namespace web {
13 13
14 // A DataSource for chrome://resources/ URLs. 14 // A DataSource for chrome://resources/ URLs.
15 class SharedResourcesDataSourceIOS : public URLDataSourceIOS { 15 class SharedResourcesDataSourceIOS : public URLDataSourceIOS {
16 public: 16 public:
17 SharedResourcesDataSourceIOS(); 17 SharedResourcesDataSourceIOS();
18 18
19 // web::URLDataSourceIOS implementation. 19 // web::URLDataSourceIOS implementation.
20 std::string GetSource() const override; 20 std::string GetSource() const override;
21 void StartDataRequest( 21 void StartDataRequest(
22 const std::string& path, 22 const std::string& path,
23 const URLDataSourceIOS::GotDataCallback& callback) override; 23 const URLDataSourceIOS::GotDataCallback& callback) override;
24 std::string GetMimeType(const std::string&) const override; 24 std::string GetMimeType(const std::string&) const override;
25 25
26 private: 26 private:
27 ~SharedResourcesDataSourceIOS() override; 27 ~SharedResourcesDataSourceIOS() override;
28 28
29 DISALLOW_COPY_AND_ASSIGN(SharedResourcesDataSourceIOS); 29 DISALLOW_COPY_AND_ASSIGN(SharedResourcesDataSourceIOS);
30 }; 30 };
31 31
32 } // namespace web 32 } // namespace web
33 33
34 #endif // IOS_WEB_WEBUI_SHARED_RESOURCES_DATA_SOURCE_IOS_H_ 34 #endif // IOS_WEB_WEBUI_SHARED_RESOURCES_DATA_SOURCE_IOS_H_
OLDNEW
« no previous file with comments | « ios/web/web_view_creation_util.mm ('k') | ios/web/webui/shared_resources_data_source_ios.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698