summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/webui/net_internals_ui.h
blob: f75160cb9437e1db9c3e95116df46c68fd3f23d1 (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
27
// 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_NET_INTERNALS_UI_H_
#define CHROME_BROWSER_UI_WEBUI_NET_INTERNALS_UI_H_
#pragma once

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

namespace base {
class Value;
}

class NetInternalsUI : public ChromeWebUI {
 public:
  explicit NetInternalsUI(TabContents* contents);

  // Returns a Value containing constants NetInternals needs to load a log file.
  // Safe to call on any thread.  Caller takes ownership of the returned Value.
  static base::Value* GetConstants();

 private:
  DISALLOW_COPY_AND_ASSIGN(NetInternalsUI);
};

#endif  // CHROME_BROWSER_UI_WEBUI_NET_INTERNALS_UI_H_