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 CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSION_WEB_CONTENTS_OBSERVER_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSION_WEB_CONTENTS_OBSERVER_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSION_WEB_CONTENTS_OBSERVER_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSION_WEB_CONTENTS_OBSERVER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 void OnDetailedConsoleMessageAdded( | 50 void OnDetailedConsoleMessageAdded( |
51 content::RenderFrameHost* render_frame_host, | 51 content::RenderFrameHost* render_frame_host, |
52 const base::string16& message, | 52 const base::string16& message, |
53 const base::string16& source, | 53 const base::string16& source, |
54 const StackTrace& stack_trace, | 54 const StackTrace& stack_trace, |
55 int32_t severity_level); | 55 int32_t severity_level); |
56 | 56 |
57 // Reloads an extension if it is on the terminated list. | 57 // Reloads an extension if it is on the terminated list. |
58 void ReloadIfTerminated(content::RenderViewHost* render_view_host); | 58 void ReloadIfTerminated(content::RenderViewHost* render_view_host); |
59 | 59 |
60 // Determines which bucket of a synthetic field trial this client belongs | |
61 // to and sets it. | |
62 void SetExtensionIsolationTrial(content::RenderFrameHost* render_frame_host); | |
63 | |
64 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionWebContentsObserver); | 60 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionWebContentsObserver); |
65 }; | 61 }; |
66 | 62 |
67 } // namespace extensions | 63 } // namespace extensions |
68 | 64 |
69 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSION_WEB_CONTENTS_OBSERVER_H_ | 65 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSION_WEB_CONTENTS_OBSERVER_H_ |
OLD | NEW |