Index: webkit/extensions/v8/benchmarking_extension.cc |
=================================================================== |
--- webkit/extensions/v8/benchmarking_extension.cc (revision 51045) |
+++ webkit/extensions/v8/benchmarking_extension.cc (working copy) |
@@ -2,7 +2,6 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "base/command_line.h" |
#include "base/stats_table.h" |
#include "third_party/WebKit/WebKit/chromium/public/WebCache.h" |
#include "webkit/extensions/v8/benchmarking_extension.h" |
@@ -36,10 +35,6 @@ |
" native function GetCounter();" |
" return GetCounter(name);" |
"};" |
- "chrome.benchmarking.isSingleProcess = function() {" |
- " native function IsSingleProcess();" |
- " return IsSingleProcess();" |
- "};" |
) {} |
virtual v8::Handle<v8::FunctionTemplate> GetNativeFunction( |
@@ -50,8 +45,6 @@ |
return v8::FunctionTemplate::New(ClearCache); |
} else if (name->Equals(v8::String::New("GetCounter"))) { |
return v8::FunctionTemplate::New(GetCounter); |
- } else if (name->Equals(v8::String::New("IsSingleProcess"))) { |
- return v8::FunctionTemplate::New(IsSingleProcess); |
} |
return v8::Handle<v8::FunctionTemplate>(); |
} |
@@ -80,10 +73,6 @@ |
int counter = StatsTable::current()->GetCounterValue(name); |
return v8::Integer::New(counter); |
} |
- |
- static v8::Handle<v8::Value> IsSingleProcess(const v8::Arguments& args) { |
- return v8::Boolean::New(webkit_glue::IsSingleProcess()); |
- } |
}; |
v8::Extension* BenchmarkingExtension::Get() { |