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

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
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..337106f8c43d22e5598a5943937b63689b2a1140 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"
@@ -104,7 +105,9 @@ TEST_F(AXProviderTest, HelloWorld) {
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());
+ 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') | components/web_view/navigation_entry.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698