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

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

Issue 55363003: Send compressed histograms with system logs when sending feedback. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: attachment helper Created 7 years, 1 month 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 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 29 matching lines...) Expand all
40 [instanceOf=Blob] object? screenshot; 40 [instanceOf=Blob] object? screenshot;
41 41
42 // Optional id for performance trace data that can be included in this 42 // Optional id for performance trace data that can be included in this
43 // report. 43 // report.
44 long? traceId; 44 long? traceId;
45 45
46 // An array of key/value pairs providing system information for this 46 // An array of key/value pairs providing system information for this
47 // feedback report. 47 // feedback report.
48 SystemInformation[]? systemInformation; 48 SystemInformation[]? systemInformation;
49 49
50 // True if we have permission to add histograms to this feedback report.
51 boolean sendHistograms;
rkc 2013/11/01 19:57:39 I would rather not modify the .idl for this. We ca
michaelpg 2013/11/01 22:14:50 As we discussed we'll keep this in the .idl for no
52
50 // TODO(rkc): Remove these once we have bindings to send blobs to Chrome. 53 // TODO(rkc): Remove these once we have bindings to send blobs to Chrome.
51 // Used internally to store the blob uuid after parameter customization. 54 // Used internally to store the blob uuid after parameter customization.
52 DOMString? attachedFileBlobUuid; 55 DOMString? attachedFileBlobUuid;
53 DOMString? screenshotBlobUuid; 56 DOMString? screenshotBlobUuid;
54 }; 57 };
55 58
56 // Status of the sending of a feedback report. 59 // Status of the sending of a feedback report.
57 enum Status {success, delayed}; 60 enum Status {success, delayed};
58 61
59 callback GetUserEmailCallback = void(DOMString email); 62 callback GetUserEmailCallback = void(DOMString email);
(...skipping 20 matching lines...) Expand all
80 }; 83 };
81 84
82 interface Events { 85 interface Events {
83 // Fired when the a user requests the launch of the feedback UI. We're 86 // Fired when the a user requests the launch of the feedback UI. We're
84 // using an event for this versus using the override API since we want 87 // using an event for this versus using the override API since we want
85 // to be invoked, but not showing a UI, so the feedback extension can 88 // to be invoked, but not showing a UI, so the feedback extension can
86 // take a screenshot of the user's desktop. 89 // take a screenshot of the user's desktop.
87 static void onFeedbackRequested(FeedbackInfo feedback); 90 static void onFeedbackRequested(FeedbackInfo feedback);
88 }; 91 };
89 }; 92 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698