diff options
author | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-27 19:45:39 +0000 |
---|---|---|
committer | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-27 19:45:39 +0000 |
commit | fca58f01b8ca6d8795ee617f211465e924ff33c7 (patch) | |
tree | d789c1e33d60b625c16502065dd450d08274a8f1 /chrome/browser/ui/webui/flash_ui.h | |
parent | 756574f28c1d2d26be229dff87965bd96a1062b5 (diff) | |
download | chromium_src-fca58f01b8ca6d8795ee617f211465e924ff33c7.zip chromium_src-fca58f01b8ca6d8795ee617f211465e924ff33c7.tar.gz chromium_src-fca58f01b8ca6d8795ee617f211465e924ff33c7.tar.bz2 |
Add a simple diagnostics page for Support (about:flash), meant to aggregate in one location all the information relevant to debugging Flash problems. This makes it easy to extract the information when reporting to Support (where currently this requires going to multiple sources to find the information, with a very low response rate).
BUG=79272
TEST=Navigate to about:flash and make sure you see diagnostic information, such as Chrome and OS versions, crash ids (if enabled) and GPU information such as what video card and driver you have installed.
Review URL: http://codereview.chromium.org/7076018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87072 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/webui/flash_ui.h')
-rw-r--r-- | chrome/browser/ui/webui/flash_ui.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/chrome/browser/ui/webui/flash_ui.h b/chrome/browser/ui/webui/flash_ui.h new file mode 100644 index 0000000..c8623ab --- /dev/null +++ b/chrome/browser/ui/webui/flash_ui.h @@ -0,0 +1,24 @@ +// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef CHROME_BROWSER_UI_WEBUI_FLASH_UI_H_ +#define CHROME_BROWSER_UI_WEBUI_FLASH_UI_H_ +#pragma once + +#include "content/browser/webui/web_ui.h" + +class RefCountedMemory; + +// The Web UI handler for about:flash. +class FlashUI : public WebUI { + public: + explicit FlashUI(TabContents* contents); + + static RefCountedMemory* GetFaviconResourceBytes(); + + private: + DISALLOW_COPY_AND_ASSIGN(FlashUI); +}; + +#endif // CHROME_BROWSER_UI_WEBUI_FLASH_UI_H_ |