// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_RENDERER_NET_NET_ERROR_PAGE_CONTROLLER_H_ #define CHROME_RENDERER_NET_NET_ERROR_PAGE_CONTROLLER_H_ #include "base/memory/weak_ptr.h" #include "chrome/renderer/net/net_error_helper_core.h" #include "gin/arguments.h" #include "gin/wrappable.h" namespace content { class RenderFrame; } // This class makes various helper functions available to the // error page loaded by NetErrorHelper. It is bound to the JavaScript // window.errorPageController object. class NetErrorPageController : public gin::Wrappable<NetErrorPageController> { … }; #endif // CHROME_RENDERER_NET_NET_ERROR_PAGE_CONTROLLER_H_