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_CHROME_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
14 #include "content/public/browser/content_browser_client.h" | 14 #include "content/public/browser/content_browser_client.h" |
15 | 15 |
16 #if defined(OS_ANDROID) | 16 #if defined(OS_ANDROID) |
17 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
18 #endif | 18 #endif |
19 | 19 |
20 namespace content { | 20 namespace content { |
21 class QuotaPermissionContext; | 21 class QuotaPermissionContext; |
22 } | 22 } |
23 | 23 |
24 namespace extensions { | |
25 class Extension; | |
26 } | |
27 | |
28 namespace user_prefs { | 24 namespace user_prefs { |
29 class PrefRegistrySyncable; | 25 class PrefRegistrySyncable; |
30 } | 26 } |
31 | 27 |
32 namespace chrome { | 28 namespace chrome { |
33 | 29 |
34 class ChromeContentBrowserClient : public content::ContentBrowserClient { | 30 class ChromeContentBrowserClient : public content::ContentBrowserClient { |
35 public: | 31 public: |
36 ChromeContentBrowserClient(); | 32 ChromeContentBrowserClient(); |
37 virtual ~ChromeContentBrowserClient(); | 33 virtual ~ChromeContentBrowserClient(); |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 private: | 254 private: |
259 // Set of origins that can use TCP/UDP private APIs from NaCl. | 255 // Set of origins that can use TCP/UDP private APIs from NaCl. |
260 std::set<std::string> allowed_socket_origins_; | 256 std::set<std::string> allowed_socket_origins_; |
261 | 257 |
262 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 258 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
263 }; | 259 }; |
264 | 260 |
265 } // namespace chrome | 261 } // namespace chrome |
266 | 262 |
267 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 263 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |