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

Side by Side Diff: webkit/tools/test_shell/test_webview_delegate.cc

Issue 164421: Add |#undef LOG| to code that may see WebKit's and Chromium's LOGs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 4 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
OLDNEW
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 // This file contains the implementation of TestWebViewDelegate, which serves 5 // This file contains the implementation of TestWebViewDelegate, which serves
6 // as the WebViewDelegate for the TestShellWebHost. The host is expected to 6 // as the WebViewDelegate for the TestShellWebHost. The host is expected to
7 // have initialized a MessageLoop before these methods are called. 7 // have initialized a MessageLoop before these methods are called.
8 8
9 #include "config.h" 9 #include "config.h"
darin (slow to review) 2009/08/12 21:47:21 looks like we can just remove the config.h include
10 10
11 #undef LOG
12
11 #include "webkit/tools/test_shell/test_webview_delegate.h" 13 #include "webkit/tools/test_shell/test_webview_delegate.h"
12 14
13 #include "base/file_util.h" 15 #include "base/file_util.h"
14 #include "base/gfx/point.h" 16 #include "base/gfx/point.h"
15 #include "base/gfx/native_widget_types.h" 17 #include "base/gfx/native_widget_types.h"
16 #include "base/message_loop.h" 18 #include "base/message_loop.h"
17 #include "base/process_util.h" 19 #include "base/process_util.h"
18 #include "base/string_util.h" 20 #include "base/string_util.h"
19 #include "base/trace_event.h" 21 #include "base/trace_event.h"
20 #include "net/base/net_errors.h" 22 #include "net/base/net_errors.h"
(...skipping 1001 matching lines...) Expand 10 before | Expand all | Expand 10 after
1022 return L"main frame \"" + name + L"\""; 1024 return L"main frame \"" + name + L"\"";
1023 else 1025 else
1024 return L"main frame"; 1026 return L"main frame";
1025 } else { 1027 } else {
1026 if (name.length()) 1028 if (name.length())
1027 return L"frame \"" + name + L"\""; 1029 return L"frame \"" + name + L"\"";
1028 else 1030 else
1029 return L"frame (anonymous)"; 1031 return L"frame (anonymous)";
1030 } 1032 }
1031 } 1033 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698