| Index: chrome/common/render_messages.h
|
| diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h
|
| index 61526f07f2aa632b9b1e716e0589a80f4e46946a..72ceba5c2c4f38e0f4c1106cc0a556e7c821ed58 100644
|
| --- a/chrome/common/render_messages.h
|
| +++ b/chrome/common/render_messages.h
|
| @@ -24,7 +24,6 @@
|
| #include "ipc/ipc_message_macros.h"
|
| #include "ipc/ipc_platform_file.h"
|
| #include "third_party/WebKit/public/platform/modules/app_banner/WebAppBannerPromptReply.h"
|
| -#include "third_party/WebKit/public/web/WebCache.h"
|
| #include "third_party/WebKit/public/web/WebConsoleMessage.h"
|
|
|
| // Singly-included section for enums and custom IPC traits.
|
| @@ -56,18 +55,6 @@ struct ParamTraits<ContentSettingsPattern> {
|
| static void Log(const param_type& p, std::string* l);
|
| };
|
|
|
| -// Manual traits since this struct uses size_t and it's in Blink, so avoid
|
| -// changing Blink due to IPC differences.
|
| -template <>
|
| -struct ParamTraits<blink::WebCache::UsageStats> {
|
| - typedef blink::WebCache::UsageStats param_type;
|
| - static void Write(base::Pickle* m, const param_type& u);
|
| - static bool Read(const base::Pickle* m,
|
| - base::PickleIterator* iter,
|
| - param_type* u);
|
| - static void Log(const param_type& p, std::string* l);
|
| -};
|
| -
|
| } // namespace IPC
|
|
|
| #endif // CHROME_COMMON_RENDER_MESSAGES_H_
|
| @@ -365,8 +352,12 @@ IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_LoadOfflineCopy, GURL /* url */)
|
| // Misc messages
|
| // These are messages sent from the renderer to the browser process.
|
|
|
| -IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_UpdatedCacheStats,
|
| - blink::WebCache::UsageStats /* stats */)
|
| +IPC_MESSAGE_CONTROL5(ChromeViewHostMsg_UpdatedCacheStats,
|
| + uint64_t /* min_dead_capacity */,
|
| + uint64_t /* max_dead_capacity */,
|
| + uint64_t /* capacity */,
|
| + uint64_t /* live_size */,
|
| + uint64_t /* dead_size */)
|
|
|
| // Sent by the renderer process to check whether access to FileSystem is
|
| // granted by content settings.
|
|
|