| 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 | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 class Browser; | 11 class Browser; |
| 12 class GURL; | 12 class GURL; |
| 13 class Profile; | 13 class Profile; |
| 14 class TabContentsWrapper; | 14 class TabContents; |
| 15 typedef TabContents TabContentsWrapper; |
| 15 class TabStripModel; | 16 class TabStripModel; |
| 16 | 17 |
| 17 namespace base { | 18 namespace base { |
| 18 class DictionaryValue; | 19 class DictionaryValue; |
| 19 class ListValue; | 20 class ListValue; |
| 20 } | 21 } |
| 21 | 22 |
| 22 namespace content { | 23 namespace content { |
| 23 class WebContents; | 24 class WebContents; |
| 24 } | 25 } |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 // extension base, we decided it wasn't worth breaking existing extensions to | 75 // extension base, we decided it wasn't worth breaking existing extensions to |
| 75 // fix. | 76 // fix. |
| 76 static GURL ResolvePossiblyRelativeURL(const std::string& url_string, | 77 static GURL ResolvePossiblyRelativeURL(const std::string& url_string, |
| 77 const extensions::Extension* extension); | 78 const extensions::Extension* extension); |
| 78 | 79 |
| 79 // Returns true if |url| is used for testing crashes. | 80 // Returns true if |url| is used for testing crashes. |
| 80 static bool IsCrashURL(const GURL& url); | 81 static bool IsCrashURL(const GURL& url); |
| 81 }; | 82 }; |
| 82 | 83 |
| 83 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_UTIL_H__ | 84 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_UTIL_H__ |
| OLD | NEW |