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

Unified Diff: chrome/tools/test/reference_build/chrome_linux/resources/inspector/DatabaseQueryView.js

Issue 177049: On Linux, move the passing of filedescriptors to a dedicated socketpair(). (Closed)
Patch Set: Removed *.d files from reference build Created 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/tools/test/reference_build/chrome_linux/resources/inspector/DatabaseQueryView.js
diff --git a/chrome/tools/test/reference_build/chrome_linux/resources/inspector/DatabaseQueryView.js b/chrome/tools/test/reference_build/chrome_linux/resources/inspector/DatabaseQueryView.js
index 122707f24d3e1d12e388e89778f23ab4cd0461cc..d8a54faff5de19a7257eda4e2ff4824c7bb95c7a 100644
--- a/chrome/tools/test/reference_build/chrome_linux/resources/inspector/DatabaseQueryView.js
+++ b/chrome/tools/test/reference_build/chrome_linux/resources/inspector/DatabaseQueryView.js
@@ -58,7 +58,7 @@ WebInspector.DatabaseQueryView.prototype = {
setTimeout(moveBackIfOutside.bind(this), 0);
},
- completions: function(wordRange, bestMatchOnly)
+ completions: function(wordRange, bestMatchOnly, completionsReadyCallback)
{
var prefix = wordRange.toString().toLowerCase();
if (!prefix.length)
@@ -85,7 +85,7 @@ WebInspector.DatabaseQueryView.prototype = {
accumulateMatches(this.database.tableNames.map(function(name) { return name + " " }));
accumulateMatches(["SELECT ", "FROM ", "WHERE ", "LIMIT ", "DELETE FROM ", "CREATE ", "DROP ", "TABLE ", "INDEX ", "UPDATE ", "INSERT INTO ", "VALUES ("]);
- return results;
+ completionsReadyCallback(results);
},
_promptKeyDown: function(event)
@@ -142,12 +142,12 @@ WebInspector.DatabaseQueryView.prototype = {
_queryFinished: function(query, tx, result)
{
- var dataGrid = WebInspector.panels.databases.dataGridForResult(result);
+ var dataGrid = WebInspector.panels.storage.dataGridForResult(result);
dataGrid.element.addStyleClass("inline");
this._appendQueryResult(query, dataGrid.element);
if (query.match(/^create /i) || query.match(/^drop table /i))
- WebInspector.panels.databases.updateDatabaseTables(this.database);
+ WebInspector.panels.storage.updateDatabaseTables(this.database);
},
_queryError: function(query, error)
@@ -157,7 +157,7 @@ WebInspector.DatabaseQueryView.prototype = {
else if (error.code == 2)
var message = WebInspector.UIString("Database no longer has expected version.");
else
- var message = WebInspector.UIString("An unexpected error %s occured.", error.code);
+ var message = WebInspector.UIString("An unexpected error %s occurred.", error.code);
this._appendQueryResult(query, message, "error");
},

Powered by Google App Engine
This is Rietveld 408576698