OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_DEBUG_URLS_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_DEBUG_URLS_H_ |
6 #define CONTENT_BROWSER_WEB_CONTENTS_DEBUG_URLS_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_DEBUG_URLS_H_ |
7 #pragma once | |
8 | 7 |
9 #include "content/public/common/page_transition_types.h" | 8 #include "content/public/common/page_transition_types.h" |
10 | 9 |
11 class GURL; | 10 class GURL; |
12 | 11 |
13 namespace content { | 12 namespace content { |
14 | 13 |
15 // Checks if the given url is a url used for debugging purposes, and if so | 14 // Checks if the given url is a url used for debugging purposes, and if so |
16 // handles it and returns true. | 15 // handles it and returns true. |
17 bool HandleDebugURL(const GURL& url, content::PageTransition transition); | 16 bool HandleDebugURL(const GURL& url, content::PageTransition transition); |
18 | 17 |
19 } // namespace content | 18 } // namespace content |
20 | 19 |
21 #endif // CONTENT_BROWSER_WEB_CONTENTS_DEBUG_URLS_H_ | 20 #endif // CONTENT_BROWSER_WEB_CONTENTS_DEBUG_URLS_H_ |
OLD | NEW |