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

Side by Side Diff: webkit/glue/bookmarklet_unittest.cc

Issue 10835019: Fix license headers in a number of files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix case Created 8 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) 2012 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 "base/file_util.h" 5 #include "base/file_util.h"
6 #include "base/message_loop.h" 6 #include "base/message_loop.h"
7 #include "base/path_service.h" 7 #include "base/path_service.h"
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 #include "googleurl/src/gurl.h" 9 #include "googleurl/src/gurl.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
11 #include "webkit/tools/test_shell/test_shell_test.h" 11 #include "webkit/tools/test_shell/test_shell_test.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 test_shell_->LoadURL(GURL( 67 test_shell_->LoadURL(GURL(
68 "javascript:document.open();" 68 "javascript:document.open();"
69 "document.write('hello world');" 69 "document.write('hello world');"
70 "document.close()")); 70 "document.close()"));
71 MessageLoop::current()->RunAllPending(); 71 MessageLoop::current()->RunAllPending();
72 string16 text = test_shell_->GetDocumentText(); 72 string16 text = test_shell_->GetDocumentText();
73 EXPECT_EQ("hello world", UTF16ToASCII(text)); 73 EXPECT_EQ("hello world", UTF16ToASCII(text));
74 } 74 }
75 75
76 } // namespace 76 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698