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

Side by Side Diff: webkit/support/test_webkit_platform_support.cc

Issue 12546016: Remove the Extensions URLRequestContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Change Cookie Override API to not expose the CookieStoreMap. Created 7 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
« no previous file with comments | « net/cookies/cookie_store.h ('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) 2012 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 "webkit/support/test_webkit_platform_support.h" 5 #include "webkit/support/test_webkit_platform_support.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/files/scoped_temp_dir.h" 9 #include "base/files/scoped_temp_dir.h"
10 #include "base/metrics/stats_counters.h" 10 #include "base/metrics/stats_counters.h"
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 LOG(WARNING) << "Failed to create a temp dir for the filesystem." 94 LOG(WARNING) << "Failed to create a temp dir for the filesystem."
95 "FileSystem feature will be disabled."; 95 "FileSystem feature will be disabled.";
96 DCHECK(file_system_root_.path().empty()); 96 DCHECK(file_system_root_.path().empty());
97 } 97 }
98 98
99 #if defined(OS_WIN) 99 #if defined(OS_WIN)
100 // Ensure we pick up the default theme engine. 100 // Ensure we pick up the default theme engine.
101 SetThemeEngine(NULL); 101 SetThemeEngine(NULL);
102 #endif 102 #endif
103 103
104 net::CookieMonster::EnableFileScheme();
105
106 // Test shell always exposes the GC. 104 // Test shell always exposes the GC.
107 webkit_glue::SetJavaScriptFlags(" --expose-gc"); 105 webkit_glue::SetJavaScriptFlags(" --expose-gc");
108 // Expose GCController to JavaScript. 106 // Expose GCController to JavaScript.
109 WebScriptController::registerExtension(extensions_v8::GCExtension::Get()); 107 WebScriptController::registerExtension(extensions_v8::GCExtension::Get());
110 } 108 }
111 109
112 TestWebKitPlatformSupport::~TestWebKitPlatformSupport() { 110 TestWebKitPlatformSupport::~TestWebKitPlatformSupport() {
113 } 111 }
114 112
115 WebKit::WebMimeRegistry* TestWebKitPlatformSupport::mimeRegistry() { 113 WebKit::WebMimeRegistry* TestWebKitPlatformSupport::mimeRegistry() {
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 return view.release(); 336 return view.release();
339 } 337 }
340 338
341 WebKit::WebLayerTreeView* 339 WebKit::WebLayerTreeView*
342 TestWebKitPlatformSupport::createLayerTreeViewForTesting( 340 TestWebKitPlatformSupport::createLayerTreeViewForTesting(
343 TestViewType type) { 341 TestViewType type) {
344 DCHECK_EQ(TestViewTypeUnitTest, type); 342 DCHECK_EQ(TestViewTypeUnitTest, type);
345 return createLayerTreeViewForTesting(); 343 return createLayerTreeViewForTesting();
346 } 344 }
347 345
OLDNEW
« no previous file with comments | « net/cookies/cookie_store.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698