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

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

Issue 351013: Chrome changes to extract the code from V8Proxy that special-cases... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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/webkitclient_impl.cc ('k') | webkit/tools/test_shell/test_shell_webkit_init.h » ('j') | 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 #undef LOG 5 #undef LOG
6 6
7 #include "webkit/tools/test_shell/test_shell.h" 7 #include "webkit/tools/test_shell/test_shell.h"
8 8
9 #include "app/gfx/codec/png_codec.h" 9 #include "app/gfx/codec/png_codec.h"
10 #include "base/base_paths.h" 10 #include "base/base_paths.h"
(...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after
652 void PrecacheUrl(const char16* url, int url_length) {} 652 void PrecacheUrl(const char16* url, int url_length) {}
653 653
654 void AppendToLog(const char* file, int line, const char* msg) { 654 void AppendToLog(const char* file, int line, const char* msg) {
655 logging::LogMessage(file, line).stream() << msg; 655 logging::LogMessage(file, line).stream() << msg;
656 } 656 }
657 657
658 bool GetApplicationDirectory(FilePath* path) { 658 bool GetApplicationDirectory(FilePath* path) {
659 return PathService::Get(base::DIR_EXE, path); 659 return PathService::Get(base::DIR_EXE, path);
660 } 660 }
661 661
662 GURL GetInspectorURL() {
663 return GURL("test-shell-resource://inspector/inspector.html");
664 }
665
666 std::string GetUIResourceProtocol() {
667 return "test-shell-resource";
668 }
669
670 bool GetExeDirectory(FilePath* path) { 662 bool GetExeDirectory(FilePath* path) {
671 return GetApplicationDirectory(path); 663 return GetApplicationDirectory(path);
672 } 664 }
673 665
674 bool IsPluginRunningInRendererProcess() { 666 bool IsPluginRunningInRendererProcess() {
675 return true; 667 return true;
676 } 668 }
677 669
678 bool GetPluginFinderURL(std::string* plugin_finder_url) { 670 bool GetPluginFinderURL(std::string* plugin_finder_url) {
679 return false; 671 return false;
(...skipping 28 matching lines...) Expand all
708 700
709 void CloseIdleConnections() { 701 void CloseIdleConnections() {
710 // Used in benchmarking, Ignored for test_shell. 702 // Used in benchmarking, Ignored for test_shell.
711 } 703 }
712 704
713 void SetCacheMode(bool enabled) { 705 void SetCacheMode(bool enabled) {
714 // Used in benchmarking, Ignored for test_shell. 706 // Used in benchmarking, Ignored for test_shell.
715 } 707 }
716 708
717 } // namespace webkit_glue 709 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « webkit/glue/webkitclient_impl.cc ('k') | webkit/tools/test_shell/test_shell_webkit_init.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698