blob: 84891ca5211cd557c7a95abad54caaf0b9a02bb9 (
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) 2012 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_NET_INTERNALS_UI_H_
#define CHROME_BROWSER_UI_WEBUI_NET_INTERNALS_NET_INTERNALS_UI_H_
#pragma once
#include "content/public/browser/web_ui_controller.h"
namespace base {
class Value;
}
class NetInternalsUI : public content::WebUIController {
public:
explicit NetInternalsUI(content::WebUI* web_ui);
// 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_NET_INTERNALS_UI_H_
|