| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_EXTERNAL_PROTOCOL_EXTERNAL_PROTOCOL_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_EXTERNAL_PROTOCOL_EXTERNAL_PROTOCOL_HANDLER_H_ |
| 6 #define CHROME_BROWSER_EXTERNAL_PROTOCOL_EXTERNAL_PROTOCOL_HANDLER_H_ | 6 #define CHROME_BROWSER_EXTERNAL_PROTOCOL_EXTERNAL_PROTOCOL_HANDLER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/macros.h" |
| 10 #include "chrome/browser/shell_integration.h" | 11 #include "chrome/browser/shell_integration.h" |
| 11 #include "ui/base/page_transition_types.h" | 12 #include "ui/base/page_transition_types.h" |
| 12 | 13 |
| 13 class GURL; | 14 class GURL; |
| 14 class PrefRegistrySimple; | 15 class PrefRegistrySimple; |
| 15 | 16 |
| 16 namespace base { | 17 namespace base { |
| 17 class DictionaryValue; | 18 class DictionaryValue; |
| 18 } | 19 } |
| 19 | 20 |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 // This is typically triggered by a user gesture, but is also called for | 105 // This is typically triggered by a user gesture, but is also called for |
| 105 // each extension API function. Note that each call to LaunchUrl resets | 106 // each extension API function. Note that each call to LaunchUrl resets |
| 106 // the state to false (not allowed). | 107 // the state to false (not allowed). |
| 107 static void PermitLaunchUrl(); | 108 static void PermitLaunchUrl(); |
| 108 | 109 |
| 109 private: | 110 private: |
| 110 DISALLOW_COPY_AND_ASSIGN(ExternalProtocolHandler); | 111 DISALLOW_COPY_AND_ASSIGN(ExternalProtocolHandler); |
| 111 }; | 112 }; |
| 112 | 113 |
| 113 #endif // CHROME_BROWSER_EXTERNAL_PROTOCOL_EXTERNAL_PROTOCOL_HANDLER_H_ | 114 #endif // CHROME_BROWSER_EXTERNAL_PROTOCOL_EXTERNAL_PROTOCOL_HANDLER_H_ |
| OLD | NEW |