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

Side by Side Diff: webkit/glue/bookmarklet_unittest.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 #include "config.h" 5 #include "config.h"
darin (slow to review) 2009/08/12 21:47:21 i think we should just remove config.h from this f
6 6
7 #undef LOG
8
7 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
8 10
9 #include "base/file_util.h" 11 #include "base/file_util.h"
10 #include "base/message_loop.h" 12 #include "base/message_loop.h"
11 #include "base/path_service.h" 13 #include "base/path_service.h"
12 #include "base/string_util.h" 14 #include "base/string_util.h"
13 #include "webkit/tools/test_shell/test_shell_test.h" 15 #include "webkit/tools/test_shell/test_shell_test.h"
14 16
15 namespace { 17 namespace {
16 18
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 test_shell_->LoadURL( 69 test_shell_->LoadURL(
68 L"javascript:document.open();" 70 L"javascript:document.open();"
69 L"document.write('hello world');" 71 L"document.write('hello world');"
70 L"document.close()"); 72 L"document.close()");
71 MessageLoop::current()->RunAllPending(); 73 MessageLoop::current()->RunAllPending();
72 std::wstring text = test_shell_->GetDocumentText(); 74 std::wstring text = test_shell_->GetDocumentText();
73 EXPECT_EQ(L"hello world", text); 75 EXPECT_EQ(L"hello world", text);
74 } 76 }
75 77
76 } // namespace 78 } // namespace
OLDNEW
« no previous file with comments | « no previous file | webkit/tools/test_shell/event_sending_controller.cc » ('j') | webkit/tools/test_shell/test_webview_delegate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698