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

Side by Side Diff: chrome/common/extensions/api/feedback_private.idl

Issue 2189353003: Sent feedback reports must respect the product ID if any was provided (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Devlin's comments Created 4 years, 4 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 | « chrome/browser/resources/feedback/js/feedback.js ('k') | components/feedback/OWNERS » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 // Use the <code>chrome.feedbackPrivate</code> API to provide Chrome [OS] 5 // Use the <code>chrome.feedbackPrivate</code> API to provide Chrome [OS]
6 // feedback to the Google Feedback servers. 6 // feedback to the Google Feedback servers.
7 namespace feedbackPrivate { 7 namespace feedbackPrivate {
8 8
9 dictionary AttachedFile { 9 dictionary AttachedFile {
10 DOMString name; 10 DOMString name;
(...skipping 30 matching lines...) Expand all
41 DOMString description; 41 DOMString description;
42 42
43 // The e-mail of the user that initiated this feedback. 43 // The e-mail of the user that initiated this feedback.
44 DOMString? email; 44 DOMString? email;
45 45
46 // The URL of the page that this issue was being experienced on. 46 // The URL of the page that this issue was being experienced on.
47 DOMString? pageUrl; 47 DOMString? pageUrl;
48 48
49 // Optional product ID to override the Chrome [OS] product id that is 49 // Optional product ID to override the Chrome [OS] product id that is
50 // usually passed to the feedback server. 50 // usually passed to the feedback server.
51 DOMString? productId; 51 long? productId;
Devlin 2016/08/03 22:11:50 Just FYI, we do actually support choices in APIs (
rkc 2016/08/03 22:21:03 Ahmed and I had discussed leaving this as a string
afakhry 2016/08/03 22:22:40 Thanks! Is there any documentation for the support
Devlin 2016/08/03 22:24:02 Sadly, no. At some point, I should write some up,
52 52
53 // Screenshot to send with this feedback. 53 // Screenshot to send with this feedback.
54 [instanceOf=Blob] object? screenshot; 54 [instanceOf=Blob] object? screenshot;
55 55
56 // Optional id for performance trace data that can be included in this 56 // Optional id for performance trace data that can be included in this
57 // report. 57 // report.
58 long? traceId; 58 long? traceId;
59 59
60 // An array of key/value pairs providing system information for this 60 // An array of key/value pairs providing system information for this
61 // feedback report. 61 // feedback report.
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 }; 116 };
117 117
118 interface Events { 118 interface Events {
119 // Fired when the a user requests the launch of the feedback UI. We're 119 // Fired when the a user requests the launch of the feedback UI. We're
120 // using an event for this versus using the override API since we want 120 // using an event for this versus using the override API since we want
121 // to be invoked, but not showing a UI, so the feedback extension can 121 // to be invoked, but not showing a UI, so the feedback extension can
122 // take a screenshot of the user's desktop. 122 // take a screenshot of the user's desktop.
123 static void onFeedbackRequested(FeedbackInfo feedback); 123 static void onFeedbackRequested(FeedbackInfo feedback);
124 }; 124 };
125 }; 125 };
OLDNEW
« no previous file with comments | « chrome/browser/resources/feedback/js/feedback.js ('k') | components/feedback/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698