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 CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_UTIL_H__ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_UTIL_H__ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_UTIL_H__ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_UTIL_H__ |
7 #pragma once | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 | 9 |
11 class Browser; | 10 class Browser; |
12 class GURL; | 11 class GURL; |
13 class Profile; | 12 class Profile; |
14 class TabContents; | 13 class TabContents; |
15 class TabStripModel; | 14 class TabStripModel; |
16 | 15 |
17 namespace base { | 16 namespace base { |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 // extension base, we decided it wasn't worth breaking existing extensions to | 70 // extension base, we decided it wasn't worth breaking existing extensions to |
72 // fix. | 71 // fix. |
73 static GURL ResolvePossiblyRelativeURL(const std::string& url_string, | 72 static GURL ResolvePossiblyRelativeURL(const std::string& url_string, |
74 const extensions::Extension* extension); | 73 const extensions::Extension* extension); |
75 | 74 |
76 // Returns true if |url| is used for testing crashes. | 75 // Returns true if |url| is used for testing crashes. |
77 static bool IsCrashURL(const GURL& url); | 76 static bool IsCrashURL(const GURL& url); |
78 }; | 77 }; |
79 | 78 |
80 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_UTIL_H__ | 79 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_UTIL_H__ |
OLD | NEW |