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_HOST_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ |
7 #pragma once | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 #include <vector> | 9 #include <vector> |
11 | 10 |
12 #include "base/logging.h" | 11 #include "base/logging.h" |
13 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
14 #include "base/perftimer.h" | 13 #include "base/perftimer.h" |
15 #include "chrome/browser/extensions/extension_function_dispatcher.h" | 14 #include "chrome/browser/extensions/extension_function_dispatcher.h" |
16 #include "chrome/common/view_type.h" | 15 #include "chrome/common/view_type.h" |
17 #include "content/public/browser/javascript_dialogs.h" | 16 #include "content/public/browser/javascript_dialogs.h" |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 // The relevant WebContents associated with this ExtensionHost, if any. | 249 // The relevant WebContents associated with this ExtensionHost, if any. |
251 content::WebContents* associated_web_contents_; | 250 content::WebContents* associated_web_contents_; |
252 | 251 |
253 // Used to measure how long it's been since the host was created. | 252 // Used to measure how long it's been since the host was created. |
254 PerfTimer since_created_; | 253 PerfTimer since_created_; |
255 | 254 |
256 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); | 255 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); |
257 }; | 256 }; |
258 | 257 |
259 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ | 258 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ |
OLD | NEW |