OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 #include "chrome/browser/external_protocol_handler.h" | 5 #include "chrome/browser/external_protocol_handler.h" |
6 | 6 |
7 #include <windows.h> | 7 #include <windows.h> |
8 #include <shellapi.h> | 8 #include <shellapi.h> |
9 #include <set> | 9 #include <set> |
10 | 10 |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "base/message_loop.h" | 12 #include "base/message_loop.h" |
13 #include "base/registry.h" | 13 #include "base/registry.h" |
14 #include "base/scoped_ptr.h" | 14 #include "base/scoped_ptr.h" |
| 15 #include "base/string_util.h" |
15 #include "base/thread.h" | 16 #include "base/thread.h" |
16 #include "chrome/browser/browser.h" | 17 #include "chrome/browser/browser.h" |
17 #include "chrome/browser/browser_process_impl.h" | 18 #include "chrome/browser/browser_process_impl.h" |
18 #include "chrome/browser/views/external_protocol_dialog.h" | 19 #include "chrome/browser/views/external_protocol_dialog.h" |
19 #include "chrome/common/pref_service.h" | 20 #include "chrome/common/pref_service.h" |
20 #include "chrome/common/pref_names.h" | 21 #include "chrome/common/pref_names.h" |
21 #include "googleurl/src/gurl.h" | 22 #include "googleurl/src/gurl.h" |
22 #include "net/base/escape.h" | 23 #include "net/base/escape.h" |
23 | 24 |
24 // static | 25 // static |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 // bug 1136923. | 188 // bug 1136923. |
188 return; | 189 return; |
189 } | 190 } |
190 } | 191 } |
191 | 192 |
192 // static | 193 // static |
193 void ExternalProtocolHandler::RegisterPrefs(PrefService* prefs) { | 194 void ExternalProtocolHandler::RegisterPrefs(PrefService* prefs) { |
194 prefs->RegisterDictionaryPref(prefs::kExcludedSchemes); | 195 prefs->RegisterDictionaryPref(prefs::kExcludedSchemes); |
195 } | 196 } |
196 | 197 |
OLD | NEW |