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

Unified Diff: components/html_viewer/ax_provider_apptest.cc

Issue 1391963004: Correctly record and pass around navigation start time. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « no previous file | components/html_viewer/document_resource_waiter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/html_viewer/ax_provider_apptest.cc
diff --git a/components/html_viewer/ax_provider_apptest.cc b/components/html_viewer/ax_provider_apptest.cc
index cda4538b8ba7c8d4ff51a183fb905db208278f4a..d6af04c6162f76dd86411e57dbf9427277ec85e1 100644
--- a/components/html_viewer/ax_provider_apptest.cc
+++ b/components/html_viewer/ax_provider_apptest.cc
@@ -7,6 +7,7 @@
#include "base/run_loop.h"
#include "base/strings/stringprintf.h"
#include "base/test/test_timeouts.h"
+#include "base/time/time.h"
#include "components/mus/public/cpp/tests/view_manager_test_base.h"
#include "components/mus/public/cpp/view.h"
#include "components/mus/public/cpp/view_tree_connection.h"
@@ -102,9 +103,10 @@ TEST_F(AXProviderTest, HelloWorld) {
web_view::mojom::FrameClientPtr frame_client;
connection->ConnectToService(&frame_client);
- frame_client->OnConnect(frame_ptr.Pass(), 1u, embed_view->id(),
- web_view::mojom::VIEW_CONNECT_TYPE_USE_NEW,
- array.Pass(), base::Closure());
+ frame_client->OnConnect(
+ frame_ptr.Pass(), 1u, embed_view->id(),
+ web_view::mojom::VIEW_CONNECT_TYPE_USE_NEW, array.Pass(),
+ base::TimeTicks::Now().ToInternalValue(), base::Closure());
// Connect to the AxProvider of the HTML document and get the AxTree.
AxProviderPtr ax_provider;
« no previous file with comments | « no previous file | components/html_viewer/document_resource_waiter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698