| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/browser_about_handler.h" | 5 #include "chrome/browser/browser_about_handler.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 1018 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1029 #if !defined(OFFICIAL_BUILD) | 1029 #if !defined(OFFICIAL_BUILD) |
| 1030 | 1030 |
| 1031 #if defined(OS_WIN) | 1031 #if defined(OS_WIN) |
| 1032 if (LowerCaseEqualsASCII(url.spec(), chrome::kChromeUINetworkURL)) { | 1032 if (LowerCaseEqualsASCII(url.spec(), chrome::kChromeUINetworkURL)) { |
| 1033 // Run the dialog. This will re-use the existing one if it's already up. | 1033 // Run the dialog. This will re-use the existing one if it's already up. |
| 1034 AboutNetworkDialog::RunDialog(); | 1034 AboutNetworkDialog::RunDialog(); |
| 1035 return true; | 1035 return true; |
| 1036 } | 1036 } |
| 1037 #endif | 1037 #endif |
| 1038 | 1038 |
| 1039 #if (defined(OS_MAC) || defined(OS_WIN)) && defined(IPC_MESSAGE_LOG_ENABLED) | 1039 #if (defined(OS_MACOSX) || defined(OS_WIN)) && defined(IPC_MESSAGE_LOG_ENABLED) |
| 1040 if (LowerCaseEqualsASCII(url.spec(), chrome::kChromeUIIPCURL)) { | 1040 if (LowerCaseEqualsASCII(url.spec(), chrome::kChromeUIIPCURL)) { |
| 1041 // Run the dialog. This will re-use the existing one if it's already up. | 1041 // Run the dialog. This will re-use the existing one if it's already up. |
| 1042 AboutIPCDialog::RunDialog(); | 1042 AboutIPCDialog::RunDialog(); |
| 1043 return true; | 1043 return true; |
| 1044 } | 1044 } |
| 1045 #endif | 1045 #endif |
| 1046 | 1046 |
| 1047 #endif // OFFICIAL_BUILD | 1047 #endif // OFFICIAL_BUILD |
| 1048 | 1048 |
| 1049 return false; | 1049 return false; |
| 1050 } | 1050 } |
| OLD | NEW |