| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 EXTENSIONS_BROWSER_API_APP_RUNTIME_APP_RUNTIME_API_H_ | 5 #ifndef EXTENSIONS_BROWSER_API_APP_RUNTIME_APP_RUNTIME_API_H_ |
| 6 #define EXTENSIONS_BROWSER_API_APP_RUNTIME_APP_RUNTIME_API_H_ | 6 #define EXTENSIONS_BROWSER_API_APP_RUNTIME_APP_RUNTIME_API_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "extensions/common/constants.h" | 12 #include "extensions/common/constants.h" |
| 13 | 13 |
| 14 class GURL; | 14 class GURL; |
| 15 | 15 |
| 16 namespace base { | 16 namespace base { |
| 17 class DictionaryValue; | 17 class DictionaryValue; |
| 18 } | 18 } |
| 19 | 19 |
| 20 namespace content { | 20 namespace content { |
| 21 class BrowserContext; | 21 class BrowserContext; |
| 22 class WebContents; | |
| 23 } | 22 } |
| 24 | 23 |
| 25 namespace extensions { | 24 namespace extensions { |
| 26 | 25 |
| 27 namespace api { | 26 namespace api { |
| 28 namespace app_runtime { | 27 namespace app_runtime { |
| 29 struct ActionData; | 28 struct ActionData; |
| 30 struct LaunchData; | 29 struct LaunchData; |
| 31 } | 30 } |
| 32 } | 31 } |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 static void DispatchOnLaunchedEventWithUrl(content::BrowserContext* context, | 83 static void DispatchOnLaunchedEventWithUrl(content::BrowserContext* context, |
| 85 const Extension* extension, | 84 const Extension* extension, |
| 86 const std::string& handler_id, | 85 const std::string& handler_id, |
| 87 const GURL& url, | 86 const GURL& url, |
| 88 const GURL& referrer_url); | 87 const GURL& referrer_url); |
| 89 }; | 88 }; |
| 90 | 89 |
| 91 } // namespace extensions | 90 } // namespace extensions |
| 92 | 91 |
| 93 #endif // EXTENSIONS_BROWSER_API_APP_RUNTIME_APP_RUNTIME_API_H_ | 92 #endif // EXTENSIONS_BROWSER_API_APP_RUNTIME_APP_RUNTIME_API_H_ |
| OLD | NEW |