summaryrefslogtreecommitdiffstats
path: root/webkit/extensions
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-28 21:20:42 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-28 21:20:42 +0000
commit70b1ada0bd82c6e8318176ef134a37d75b9a0392 (patch)
tree305bdb83dfa7cae4bfc9bfe0370bfdf47a9c0be2 /webkit/extensions
parentec52f0144829c3f0998a7a170c0921760f67a766 (diff)
downloadchromium_src-70b1ada0bd82c6e8318176ef134a37d75b9a0392.zip
chromium_src-70b1ada0bd82c6e8318176ef134a37d75b9a0392.tar.gz
chromium_src-70b1ada0bd82c6e8318176ef134a37d75b9a0392.tar.bz2
Revert 51042 - Show a warning message if the cache might not be cleared correctly between runs.
Review URL: http://codereview.chromium.org/2834025 TBR=mlloyd@chromium.org Review URL: http://codereview.chromium.org/2856018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51046 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/extensions')
-rw-r--r--webkit/extensions/v8/benchmarking_extension.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/webkit/extensions/v8/benchmarking_extension.cc b/webkit/extensions/v8/benchmarking_extension.cc
index 5790ee4..362a928 100644
--- a/webkit/extensions/v8/benchmarking_extension.cc
+++ b/webkit/extensions/v8/benchmarking_extension.cc
@@ -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 @@ class BenchmarkingWrapper : public v8::Extension {
" 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 @@ class BenchmarkingWrapper : public v8::Extension {
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 @@ class BenchmarkingWrapper : public v8::Extension {
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() {