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

Side by Side Diff: chrome/common/resource_usage_reporter_type_converters.h

Issue 2675303004: Move WebCache from public/web into public/platform (Closed)
Patch Set: . Created 3 years, 10 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 #ifndef CHROME_COMMON_RESOURCE_USAGE_REPORTER_TYPE_CONVERTERS_H_ 5 #ifndef CHROME_COMMON_RESOURCE_USAGE_REPORTER_TYPE_CONVERTERS_H_
6 #define CHROME_COMMON_RESOURCE_USAGE_REPORTER_TYPE_CONVERTERS_H_ 6 #define CHROME_COMMON_RESOURCE_USAGE_REPORTER_TYPE_CONVERTERS_H_
7 7
8 #include "chrome/common/resource_usage_reporter.mojom.h" 8 #include "chrome/common/resource_usage_reporter.mojom.h"
9 #include "mojo/public/cpp/bindings/type_converter.h" 9 #include "mojo/public/cpp/bindings/type_converter.h"
10 #include "third_party/WebKit/public/web/WebCache.h" 10 #include "third_party/WebKit/public/platform/WebCache.h"
11 11
12 namespace mojo { 12 namespace mojo {
13 13
14 template <> 14 template <>
15 struct TypeConverter<chrome::mojom::ResourceTypeStatsPtr, 15 struct TypeConverter<chrome::mojom::ResourceTypeStatsPtr,
16 blink::WebCache::ResourceTypeStats> { 16 blink::WebCache::ResourceTypeStats> {
17 static chrome::mojom::ResourceTypeStatsPtr Convert( 17 static chrome::mojom::ResourceTypeStatsPtr Convert(
18 const blink::WebCache::ResourceTypeStats& obj); 18 const blink::WebCache::ResourceTypeStats& obj);
19 }; 19 };
20 20
21 template <> 21 template <>
22 struct TypeConverter<blink::WebCache::ResourceTypeStats, 22 struct TypeConverter<blink::WebCache::ResourceTypeStats,
23 chrome::mojom::ResourceTypeStats> { 23 chrome::mojom::ResourceTypeStats> {
24 static blink::WebCache::ResourceTypeStats Convert( 24 static blink::WebCache::ResourceTypeStats Convert(
25 const chrome::mojom::ResourceTypeStats& obj); 25 const chrome::mojom::ResourceTypeStats& obj);
26 }; 26 };
27 27
28 } // namespace mojo 28 } // namespace mojo
29 29
30 #endif // CHROME_COMMON_RESOURCE_USAGE_REPORTER_TYPE_CONVERTERS_H_ 30 #endif // CHROME_COMMON_RESOURCE_USAGE_REPORTER_TYPE_CONVERTERS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/task_manager/task_manager_table_model.cc ('k') | chrome/renderer/chrome_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698