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

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

Issue 16420: Handle cases where the multipart boundary is improperly prefixed with "--".... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 12 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 | « webkit/glue/multipart_response_delegate_unittest.cc ('k') | 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) 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 "base/compiler_specific.h" 5 #include "base/compiler_specific.h"
6 #include "build/build_config.h" 6 #include "build/build_config.h"
7 7
8 #if defined(OS_WIN) 8 #if defined(OS_WIN)
9 #include <objidl.h> 9 #include <objidl.h>
10 #include <mlang.h> 10 #include <mlang.h>
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 void SetLayoutTestMode(bool enable) { 76 void SetLayoutTestMode(bool enable) {
77 layout_test_mode_ = enable; 77 layout_test_mode_ = enable;
78 } 78 }
79 79
80 bool IsLayoutTestMode() { 80 bool IsLayoutTestMode() {
81 return layout_test_mode_; 81 return layout_test_mode_;
82 } 82 }
83 83
84 void InitializeForTesting() { 84 void InitializeForTesting() {
85 WTF::initializeThreading(); 85 WTF::initializeThreading();
86 WebCore::AtomicString::init();
86 } 87 }
87 88
88 void EnableWebCoreNotImplementedLogging() { 89 void EnableWebCoreNotImplementedLogging() {
89 WebCore::LogNotYetImplemented.state = WTFLogChannelOn; 90 WebCore::LogNotYetImplemented.state = WTFLogChannelOn;
90 } 91 }
91 92
92 std::wstring DumpDocumentText(WebFrame* web_frame) { 93 std::wstring DumpDocumentText(WebFrame* web_frame) {
93 WebFrameImpl* webFrameImpl = static_cast<WebFrameImpl*>(web_frame); 94 WebFrameImpl* webFrameImpl = static_cast<WebFrameImpl*>(web_frame);
94 WebCore::Frame* frame = webFrameImpl->frame(); 95 WebCore::Frame* frame = webFrameImpl->frame();
95 96
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 } 431 }
431 432
432 g_forcefully_terminate_plugin_process = value; 433 g_forcefully_terminate_plugin_process = value;
433 } 434 }
434 435
435 bool ShouldForcefullyTerminatePluginProcess() { 436 bool ShouldForcefullyTerminatePluginProcess() {
436 return g_forcefully_terminate_plugin_process; 437 return g_forcefully_terminate_plugin_process;
437 } 438 }
438 439
439 } // namespace webkit_glue 440 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « webkit/glue/multipart_response_delegate_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698