Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(252)

Unified Diff: content/browser/devtools/page_navigation_throttle.h

Issue 2548263002: [DevTools] Migrate dom, emulation, inspector, network, page and schema handlers to new generator. (Closed)
Patch Set: rebased atop of roll Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/devtools/devtools_session.cc ('k') | content/browser/devtools/page_navigation_throttle.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/devtools/page_navigation_throttle.h
diff --git a/content/browser/devtools/page_navigation_throttle.h b/content/browser/devtools/page_navigation_throttle.h
index 86091a4e7e331468bdc244340234dae266313949..3cdc11f4a713320257c7055afac9b0822f35d290 100644
--- a/content/browser/devtools/page_navigation_throttle.h
+++ b/content/browser/devtools/page_navigation_throttle.h
@@ -10,16 +10,15 @@
#include "content/public/browser/navigation_throttle.h"
namespace content {
-namespace devtools {
-namespace page {
+namespace protocol {
class PageHandler;
-} // namespace page
+} // namespace protocol
// Used to allow the DevTools client to optionally cancel navigations via the
// Page.setControlNavigations and Page.processNavigation commands.
class PageNavigationThrottle : public content::NavigationThrottle {
public:
- PageNavigationThrottle(base::WeakPtr<page::PageHandler> page_handler,
+ PageNavigationThrottle(base::WeakPtr<protocol::PageHandler> page_handler,
int navigation_id,
content::NavigationHandle* navigation_handle);
~PageNavigationThrottle() override;
@@ -47,7 +46,7 @@ class PageNavigationThrottle : public content::NavigationThrottle {
const int navigation_id_;
// The PageHandler that this navigation throttle is associated with.
- base::WeakPtr<page::PageHandler> page_handler_;
+ base::WeakPtr<protocol::PageHandler> page_handler_;
// Whether or not a navigation was deferred. If deferred we expect a
// subsequent call to AlwaysProceed, Resume or CancelDeferredNavigation.
@@ -56,7 +55,6 @@ class PageNavigationThrottle : public content::NavigationThrottle {
DISALLOW_COPY_AND_ASSIGN(PageNavigationThrottle);
};
-} // namespace devtools
} // namespace content
#endif // CONTENT_BROWSER_DEVTOOLS_PAGE_NAVIGATION_THROTTLE_H_
« no previous file with comments | « content/browser/devtools/devtools_session.cc ('k') | content/browser/devtools/page_navigation_throttle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698