summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/webui/crashes_ui.h
blob: 0c2a4a4bd4b9ea3ade600b0139d82e0bcfd363f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// 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_CRASHES_UI_H_
#define CHROME_BROWSER_UI_WEBUI_CRASHES_UI_H_
#pragma once

#include "chrome/browser/ui/webui/chrome_web_ui.h"

class RefCountedMemory;

class CrashesUI : public ChromeWebUI {
 public:
  explicit CrashesUI(content::WebContents* contents);

  static RefCountedMemory* GetFaviconResourceBytes();

  // Whether crash reporting has been enabled.
  static bool CrashReportingEnabled();

 private:
  DISALLOW_COPY_AND_ASSIGN(CrashesUI);
};

#endif  // CHROME_BROWSER_UI_WEBUI_CRASHES_UI_H_