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

Unified Diff: ceee/ie/plugin/bho/webrequest_events_funnel.cc

Issue 6248026: Rename Real* to Double* in values.* and dependent files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More renames Created 9 years, 11 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: ceee/ie/plugin/bho/webrequest_events_funnel.cc
diff --git a/ceee/ie/plugin/bho/webrequest_events_funnel.cc b/ceee/ie/plugin/bho/webrequest_events_funnel.cc
index c0d5b1e822315e877111e4f8bd813c941ea4b5c6..fa86941664afed0f2a0d6ed2e8b07cfa16af6940 100644
--- a/ceee/ie/plugin/bho/webrequest_events_funnel.cc
+++ b/ceee/ie/plugin/bho/webrequest_events_funnel.cc
@@ -30,7 +30,7 @@ HRESULT WebRequestEventsFunnel::OnBeforeRedirect(int request_id,
args.SetString(keys::kUrlKey, url);
args.SetInteger(keys::kStatusCodeKey, status_code);
args.SetString(keys::kRedirectUrlKey, redirect_url);
- args.SetReal(keys::kTimeStampKey, MilliSecondsFromTime(time_stamp));
+ args.SetDouble(keys::kTimeStampKey, MilliSecondsFromTime(time_stamp));
return SendEvent(keys::kOnBeforeRedirect, args);
}
@@ -47,7 +47,7 @@ HRESULT WebRequestEventsFunnel::OnBeforeRequest(int request_id,
args.SetString(keys::kMethodKey, method);
args.SetInteger(keys::kTabIdKey, static_cast<int>(tab_handle));
args.SetString(keys::kTypeKey, type);
- args.SetReal(keys::kTimeStampKey, MilliSecondsFromTime(time_stamp));
+ args.SetDouble(keys::kTimeStampKey, MilliSecondsFromTime(time_stamp));
return SendEvent(keys::kOnBeforeRequest, args);
}
@@ -60,7 +60,7 @@ HRESULT WebRequestEventsFunnel::OnCompleted(int request_id,
args.SetInteger(keys::kRequestIdKey, request_id);
args.SetString(keys::kUrlKey, url);
args.SetInteger(keys::kStatusCodeKey, status_code);
- args.SetReal(keys::kTimeStampKey, MilliSecondsFromTime(time_stamp));
+ args.SetDouble(keys::kTimeStampKey, MilliSecondsFromTime(time_stamp));
return SendEvent(keys::kOnCompleted, args);
}
@@ -73,7 +73,7 @@ HRESULT WebRequestEventsFunnel::OnErrorOccurred(int request_id,
args.SetInteger(keys::kRequestIdKey, request_id);
args.SetString(keys::kUrlKey, url);
args.SetString(keys::kErrorKey, error);
- args.SetReal(keys::kTimeStampKey, MilliSecondsFromTime(time_stamp));
+ args.SetDouble(keys::kTimeStampKey, MilliSecondsFromTime(time_stamp));
return SendEvent(keys::kOnErrorOccurred, args);
}
@@ -87,7 +87,7 @@ HRESULT WebRequestEventsFunnel::OnHeadersReceived(
args.SetInteger(keys::kRequestIdKey, request_id);
args.SetString(keys::kUrlKey, url);
args.SetInteger(keys::kStatusCodeKey, status_code);
- args.SetReal(keys::kTimeStampKey, MilliSecondsFromTime(time_stamp));
+ args.SetDouble(keys::kTimeStampKey, MilliSecondsFromTime(time_stamp));
return SendEvent(keys::kOnHeadersReceived, args);
}
@@ -100,7 +100,7 @@ HRESULT WebRequestEventsFunnel::OnRequestSent(int request_id,
args.SetInteger(keys::kRequestIdKey, request_id);
args.SetString(keys::kUrlKey, url);
args.SetString(keys::kIpKey, ip);
- args.SetReal(keys::kTimeStampKey, MilliSecondsFromTime(time_stamp));
+ args.SetDouble(keys::kTimeStampKey, MilliSecondsFromTime(time_stamp));
return SendEvent(keys::kOnRequestSent, args);
}

Powered by Google App Engine
This is Rietveld 408576698