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

Side by Side Diff: chrome/browser/feedback/feedback_util.h

Issue 9104030: Include a timestamp with and add a keyboard shortcut for Feedback. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 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 | Annotate | Revision Log
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 #ifndef CHROME_BROWSER_FEEDBACK_FEEDBACK_UTIL_H_ 5 #ifndef CHROME_BROWSER_FEEDBACK_FEEDBACK_UTIL_H_
6 #define CHROME_BROWSER_FEEDBACK_FEEDBACK_UTIL_H_ 6 #define CHROME_BROWSER_FEEDBACK_FEEDBACK_UTIL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 , const std::string& page_url_text 70 , const std::string& page_url_text
71 , const std::string& description 71 , const std::string& description
72 , ScreenshotDataPtr png_data 72 , ScreenshotDataPtr png_data
73 , int png_width 73 , int png_width
74 , int png_height 74 , int png_height
75 #if defined(OS_CHROMEOS) 75 #if defined(OS_CHROMEOS)
76 , const std::string& user_email_text 76 , const std::string& user_email_text
77 , const char* zipped_logs_data 77 , const char* zipped_logs_data
78 , int zipped_logs_length 78 , int zipped_logs_length
79 , const chromeos::system::LogDictionaryType* const sys_info 79 , const chromeos::system::LogDictionaryType* const sys_info
80 , const std::string& timestamp
80 #endif 81 #endif
81 ); 82 );
82 // Redirects the user to Google's phishing reporting page. 83 // Redirects the user to Google's phishing reporting page.
83 static void ReportPhishing(content::WebContents* current_tab, 84 static void ReportPhishing(content::WebContents* current_tab,
84 const std::string& phishing_url); 85 const std::string& phishing_url);
85 // Maintains a single vector of bytes to store the last screenshot taken. 86 // Maintains a single vector of bytes to store the last screenshot taken.
86 static std::vector<unsigned char>* GetScreenshotPng(); 87 static std::vector<unsigned char>* GetScreenshotPng();
87 static void ClearScreenshotPng(); 88 static void ClearScreenshotPng();
88 static void SetScreenshotSize(const gfx::Rect& rect); 89 static void SetScreenshotSize(const gfx::Rect& rect);
89 static gfx::Rect& GetScreenshotSize(); 90 static gfx::Rect& GetScreenshotSize();
(...skipping 11 matching lines...) Expand all
101 int64 previous_delay); 102 int64 previous_delay);
102 103
103 #if defined(OS_CHROMEOS) 104 #if defined(OS_CHROMEOS)
104 static bool ValidFeedbackSize(const std::string& content); 105 static bool ValidFeedbackSize(const std::string& content);
105 #endif 106 #endif
106 107
107 DISALLOW_IMPLICIT_CONSTRUCTORS(FeedbackUtil); 108 DISALLOW_IMPLICIT_CONSTRUCTORS(FeedbackUtil);
108 }; 109 };
109 110
110 #endif // CHROME_BROWSER_FEEDBACK_FEEDBACK_UTIL_H_ 111 #endif // CHROME_BROWSER_FEEDBACK_FEEDBACK_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698