Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(230)

Side by Side Diff: chrome/browser/browser_about_handler.cc

Issue 2869017: Fix about:ipc on Mac.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698