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

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

Issue 6308009: If user had consented for metrics reporting, send speech input request origin to the server. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/net/url_fetcher.cc ('k') | chrome/common/render_messages.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 (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_RENDER_MESSAGES_H_ 5 #ifndef CHROME_COMMON_RENDER_MESSAGES_H_
6 #define CHROME_COMMON_RENDER_MESSAGES_H_ 6 #define CHROME_COMMON_RENDER_MESSAGES_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 30 matching lines...) Expand all
41 41
42 namespace net { 42 namespace net {
43 class HttpResponseHeaders; 43 class HttpResponseHeaders;
44 class UploadData; 44 class UploadData;
45 } 45 }
46 46
47 namespace webkit_blob { 47 namespace webkit_blob {
48 class BlobData; 48 class BlobData;
49 } 49 }
50 50
51 namespace speech_input {
52 struct SpeechInputResultItem;
53 }
54
55 namespace webkit_glue { 51 namespace webkit_glue {
56 struct FormData; 52 struct FormData;
57 class FormField; 53 class FormField;
58 struct PasswordFormFillData; 54 struct PasswordFormFillData;
59 struct ResourceDevToolsInfo; 55 struct ResourceDevToolsInfo;
60 struct ResourceLoadTimingInfo; 56 struct ResourceLoadTimingInfo;
61 struct ResourceResponseInfo; 57 struct ResourceResponseInfo;
62 struct WebAccessibility; 58 struct WebAccessibility;
63 struct WebCookie; 59 struct WebCookie;
64 } 60 }
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after
550 // Traits for AudioBuffersState structure. 546 // Traits for AudioBuffersState structure.
551 template <> 547 template <>
552 struct ParamTraits<AudioBuffersState> { 548 struct ParamTraits<AudioBuffersState> {
553 typedef AudioBuffersState param_type; 549 typedef AudioBuffersState param_type;
554 static void Write(Message* m, const param_type& p); 550 static void Write(Message* m, const param_type& p);
555 static bool Read(const Message* m, void** iter, param_type* p); 551 static bool Read(const Message* m, void** iter, param_type* p);
556 static void Log(const param_type& p, std::string* l); 552 static void Log(const param_type& p, std::string* l);
557 }; 553 };
558 554
559 template <> 555 template <>
560 struct ParamTraits<speech_input::SpeechInputResultItem> {
561 typedef speech_input::SpeechInputResultItem param_type;
562 static void Write(Message* m, const param_type& p);
563 static bool Read(const Message* m, void** iter, param_type* p);
564 static void Log(const param_type& p, std::string* l);
565 };
566
567 template <>
568 struct ParamTraits<PP_Flash_NetAddress> { 556 struct ParamTraits<PP_Flash_NetAddress> {
569 typedef PP_Flash_NetAddress param_type; 557 typedef PP_Flash_NetAddress param_type;
570 static void Write(Message* m, const param_type& p); 558 static void Write(Message* m, const param_type& p);
571 static bool Read(const Message* m, void** iter, param_type* p); 559 static bool Read(const Message* m, void** iter, param_type* p);
572 static void Log(const param_type& p, std::string* l); 560 static void Log(const param_type& p, std::string* l);
573 }; 561 };
574 562
575 } // namespace IPC 563 } // namespace IPC
576 564
577 #include "chrome/common/render_messages_internal.h" 565 #include "chrome/common/render_messages_internal.h"
578 566
579 #endif // CHROME_COMMON_RENDER_MESSAGES_H_ 567 #endif // CHROME_COMMON_RENDER_MESSAGES_H_
OLDNEW
« no previous file with comments | « chrome/common/net/url_fetcher.cc ('k') | chrome/common/render_messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698