// Copyright 2012 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_BROWSER_EXTENSIONS_API_WEB_NAVIGATION_FRAME_NAVIGATION_STATE_H_ #define CHROME_BROWSER_EXTENSIONS_API_WEB_NAVIGATION_FRAME_NAVIGATION_STATE_H_ #include "content/public/browser/document_user_data.h" #include "url/gurl.h" namespace content { class RenderFrameHost; } namespace extensions { // Used to track the loading state of RenderFrameHost instances in a given tab // currently known to the webNavigation API. It is mainly used to track in which // frames an error occurred so no further events for this frame are being sent. // TODO(carlscab): DocumentState seems like a better name as this track per // document state. class FrameNavigationState : public content::DocumentUserData<FrameNavigationState> { … }; } // namespace extensions #endif // CHROME_BROWSER_EXTENSIONS_API_WEB_NAVIGATION_FRAME_NAVIGATION_STATE_H_