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

Side by Side Diff: content/common/view_messages.h

Issue 935963002: Use int64 time stamp when storing metadata to the HTTP cache. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix test case Created 5 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
« no previous file with comments | « content/child/web_url_loader_impl.cc ('k') | content/renderer/renderer_blink_platform_impl.h » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // IPC messages for page rendering. 5 // IPC messages for page rendering.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "base/memory/shared_memory.h" 8 #include "base/memory/shared_memory.h"
9 #include "base/process/process.h" 9 #include "base/process/process.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 1451 matching lines...) Expand 10 before | Expand all | Expand 10 after
1462 // Asks the browser process to generate a keypair for grabbing a client 1462 // Asks the browser process to generate a keypair for grabbing a client
1463 // certificate from a CA (<keygen> tag), and returns the signed public 1463 // certificate from a CA (<keygen> tag), and returns the signed public
1464 // key and challenge string. 1464 // key and challenge string.
1465 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_Keygen, 1465 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_Keygen,
1466 uint32 /* key size index */, 1466 uint32 /* key size index */,
1467 std::string /* challenge string */, 1467 std::string /* challenge string */,
1468 GURL /* URL of requestor */, 1468 GURL /* URL of requestor */,
1469 std::string /* signed public key and challenge */) 1469 std::string /* signed public key and challenge */)
1470 1470
1471 // Message sent from the renderer to the browser to request that the browser 1471 // Message sent from the renderer to the browser to request that the browser
1472 // cache |data| associated with |url|. 1472 // cache |data| associated with |url| and |expected_response_time|.
1473 IPC_MESSAGE_CONTROL3(ViewHostMsg_DidGenerateCacheableMetadata, 1473 IPC_MESSAGE_CONTROL3(ViewHostMsg_DidGenerateCacheableMetadata,
1474 GURL /* url */, 1474 GURL /* url */,
1475 double /* expected_response_time */, 1475 base::Time /* expected_response_time */,
1476 std::vector<char> /* data */) 1476 std::vector<char> /* data */)
1477 1477
1478 // Register a new handler for URL requests with the given scheme. 1478 // Register a new handler for URL requests with the given scheme.
1479 IPC_MESSAGE_ROUTED4(ViewHostMsg_RegisterProtocolHandler, 1479 IPC_MESSAGE_ROUTED4(ViewHostMsg_RegisterProtocolHandler,
1480 std::string /* scheme */, 1480 std::string /* scheme */,
1481 GURL /* url */, 1481 GURL /* url */,
1482 base::string16 /* title */, 1482 base::string16 /* title */,
1483 bool /* user_gesture */) 1483 bool /* user_gesture */)
1484 1484
1485 // Unregister the registered handler for URL requests with the given scheme. 1485 // Unregister the registered handler for URL requests with the given scheme.
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
1651 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters 1651 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters
1652 // for details. 1652 // for details.
1653 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, 1653 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters,
1654 LOGFONT /* font_data */, 1654 LOGFONT /* font_data */,
1655 base::string16 /* characters */) 1655 base::string16 /* characters */)
1656 #endif 1656 #endif
1657 1657
1658 // Adding a new message? Stick to the sort order above: first platform 1658 // Adding a new message? Stick to the sort order above: first platform
1659 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1659 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1660 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1660 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/child/web_url_loader_impl.cc ('k') | content/renderer/renderer_blink_platform_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698