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_CUSTOM_HANDLERS_PROTOCOL_HANDLER_REGISTRY_H_ | 5 #ifndef CHROME_BROWSER_CUSTOM_HANDLERS_PROTOCOL_HANDLER_REGISTRY_H_ |
6 #define CHROME_BROWSER_CUSTOM_HANDLERS_PROTOCOL_HANDLER_REGISTRY_H_ | 6 #define CHROME_BROWSER_CUSTOM_HANDLERS_PROTOCOL_HANDLER_REGISTRY_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
| 12 #include "apps/shell_integration.h" |
12 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
13 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
14 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
15 #include "base/sequenced_task_runner_helpers.h" | 16 #include "base/sequenced_task_runner_helpers.h" |
16 #include "base/values.h" | 17 #include "base/values.h" |
17 #include "chrome/browser/profiles/profile.h" | 18 #include "chrome/browser/profiles/profile.h" |
18 #include "chrome/browser/profiles/profile_keyed_service.h" | 19 #include "chrome/browser/profiles/profile_keyed_service.h" |
19 #include "chrome/browser/shell_integration.h" | |
20 #include "chrome/common/custom_handlers/protocol_handler.h" | 20 #include "chrome/common/custom_handlers/protocol_handler.h" |
21 #include "content/public/browser/browser_thread.h" | 21 #include "content/public/browser/browser_thread.h" |
22 #include "content/public/browser/notification_service.h" | 22 #include "content/public/browser/notification_service.h" |
23 #include "net/url_request/url_request.h" | 23 #include "net/url_request/url_request.h" |
24 #include "net/url_request/url_request_job.h" | 24 #include "net/url_request/url_request_job.h" |
25 #include "net/url_request/url_request_job_factory.h" | 25 #include "net/url_request/url_request_job_factory.h" |
26 | 26 |
27 class PrefRegistrySyncable; | 27 class PrefRegistrySyncable; |
28 | 28 |
29 // This is where handlers for protocols registered with | 29 // This is where handlers for protocols registered with |
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 | 322 |
323 // Copy of registry data for use on the IO thread. Changes to the registry | 323 // Copy of registry data for use on the IO thread. Changes to the registry |
324 // are posted to the IO thread where updates are applied to this object. | 324 // are posted to the IO thread where updates are applied to this object. |
325 scoped_refptr<IOThreadDelegate> io_thread_delegate_; | 325 scoped_refptr<IOThreadDelegate> io_thread_delegate_; |
326 | 326 |
327 DefaultClientObserverList default_client_observers_; | 327 DefaultClientObserverList default_client_observers_; |
328 | 328 |
329 DISALLOW_COPY_AND_ASSIGN(ProtocolHandlerRegistry); | 329 DISALLOW_COPY_AND_ASSIGN(ProtocolHandlerRegistry); |
330 }; | 330 }; |
331 #endif // CHROME_BROWSER_CUSTOM_HANDLERS_PROTOCOL_HANDLER_REGISTRY_H_ | 331 #endif // CHROME_BROWSER_CUSTOM_HANDLERS_PROTOCOL_HANDLER_REGISTRY_H_ |
OLD | NEW |