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

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: rebase 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
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 1450 matching lines...) Expand 10 before | Expand all | Expand 10 after
1461 // Asks the browser process to generate a keypair for grabbing a client 1461 // Asks the browser process to generate a keypair for grabbing a client
1462 // certificate from a CA (<keygen> tag), and returns the signed public 1462 // certificate from a CA (<keygen> tag), and returns the signed public
1463 // key and challenge string. 1463 // key and challenge string.
1464 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_Keygen, 1464 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_Keygen,
1465 uint32 /* key size index */, 1465 uint32 /* key size index */,
1466 std::string /* challenge string */, 1466 std::string /* challenge string */,
1467 GURL /* URL of requestor */, 1467 GURL /* URL of requestor */,
1468 std::string /* signed public key and challenge */) 1468 std::string /* signed public key and challenge */)
1469 1469
1470 // Message sent from the renderer to the browser to request that the browser 1470 // Message sent from the renderer to the browser to request that the browser
1471 // cache |data| associated with |url|. 1471 // cache |data| associated with |url| and |expected_response_time|.
1472 IPC_MESSAGE_CONTROL3(ViewHostMsg_DidGenerateCacheableMetadata, 1472 IPC_MESSAGE_CONTROL3(ViewHostMsg_DidGenerateCacheableMetadata,
1473 GURL /* url */, 1473 GURL /* url */,
1474 double /* expected_response_time */, 1474 base::Time /* expected_response_time */,
1475 std::vector<char> /* data */) 1475 std::vector<char> /* data */)
1476 1476
1477 // Register a new handler for URL requests with the given scheme. 1477 // Register a new handler for URL requests with the given scheme.
1478 IPC_MESSAGE_ROUTED4(ViewHostMsg_RegisterProtocolHandler, 1478 IPC_MESSAGE_ROUTED4(ViewHostMsg_RegisterProtocolHandler,
1479 std::string /* scheme */, 1479 std::string /* scheme */,
1480 GURL /* url */, 1480 GURL /* url */,
1481 base::string16 /* title */, 1481 base::string16 /* title */,
1482 bool /* user_gesture */) 1482 bool /* user_gesture */)
1483 1483
1484 // Unregister the registered handler for URL requests with the given scheme. 1484 // Unregister the registered handler for URL requests with the given scheme.
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
1650 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters 1650 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters
1651 // for details. 1651 // for details.
1652 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, 1652 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters,
1653 LOGFONT /* font_data */, 1653 LOGFONT /* font_data */,
1654 base::string16 /* characters */) 1654 base::string16 /* characters */)
1655 #endif 1655 #endif
1656 1656
1657 // Adding a new message? Stick to the sort order above: first platform 1657 // Adding a new message? Stick to the sort order above: first platform
1658 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1658 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1659 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1659 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698