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

Unified Diff: chrome/browser/extensions/api/tab_capture/tab_capture_registry.h

Issue 11734034: Coverity: Remove default TabCaptureRequest constructor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nit Created 7 years, 12 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/extensions/api/tab_capture/tab_capture_registry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/tab_capture/tab_capture_registry.h
diff --git a/chrome/browser/extensions/api/tab_capture/tab_capture_registry.h b/chrome/browser/extensions/api/tab_capture/tab_capture_registry.h
index df9531d36a861f9865f614295eb6fd609348557a..e0dcf41df09a0201c654a88740581159ea81b3e0 100644
--- a/chrome/browser/extensions/api/tab_capture/tab_capture_registry.h
+++ b/chrome/browser/extensions/api/tab_capture/tab_capture_registry.h
@@ -29,14 +29,14 @@ class TabCaptureRegistry : public ProfileKeyedService,
public content::NotificationObserver {
public:
struct TabCaptureRequest {
+ TabCaptureRequest(std::string extension_id,
+ int tab_id,
+ tab_capture::TabCaptureState status);
+ ~TabCaptureRequest();
+
std::string extension_id;
int tab_id;
tab_capture::TabCaptureState status;
-
- TabCaptureRequest() : tab_id(-1) {}
- TabCaptureRequest(std::string extension_id, int tab_id,
- tab_capture::TabCaptureState status)
- : extension_id(extension_id), tab_id(tab_id), status(status) {}
};
typedef std::vector<TabCaptureRequest> CaptureRequestList;
« no previous file with comments | « no previous file | chrome/browser/extensions/api/tab_capture/tab_capture_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698