diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-13 21:24:39 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-13 21:24:39 +0000 |
commit | e6e30ac7da61cf09099d861344b3c22e5d5d158c (patch) | |
tree | 3d6df38aeec8737b3aac899ab2079d77511a96e6 /content/browser/frame_host/navigation_controller_impl.cc | |
parent | 662e95081cfe6aa20be3a367d7e12b71f9d790b3 (diff) | |
download | chromium_src-e6e30ac7da61cf09099d861344b3c22e5d5d158c.zip chromium_src-e6e30ac7da61cf09099d861344b3c22e5d5d158c.tar.gz chromium_src-e6e30ac7da61cf09099d861344b3c22e5d5d158c.tar.bz2 |
Move the guts of user_metrics to a new static lib in //base/metrics.
I retained a couple of wrapper functions in content that post back to the UI thread if they are called from another thread. All existing code will continue to use these wrappers. The intent is that some code that I don't want to depend on content that only lives on the UI thread can now call //base/metrics code directly.
R=isherman@chromium.org, jam@chromium.org
http://crbug.com/332504
Review URL: https://codereview.chromium.org/129223004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244580 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/frame_host/navigation_controller_impl.cc')
-rw-r--r-- | content/browser/frame_host/navigation_controller_impl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/browser/frame_host/navigation_controller_impl.cc b/content/browser/frame_host/navigation_controller_impl.cc index 5b08aa1a..0526f69 100644 --- a/content/browser/frame_host/navigation_controller_impl.cc +++ b/content/browser/frame_host/navigation_controller_impl.cc @@ -902,7 +902,7 @@ NavigationType NavigationControllerImpl::ClassifyNavigation( // Because the unknown entry has committed, we risk showing the wrong URL in // release builds. Instead, we'll kill the renderer process to be safe. LOG(ERROR) << "terminating renderer for bad navigation: " << params.url; - RecordAction(UserMetricsAction("BadMessageTerminate_NC")); + RecordAction(base::UserMetricsAction("BadMessageTerminate_NC")); // Temporary code so we can get more information. Format: // http://url/foo.html#page1#max3#frame1#ids:2_Nx,1_1x,3_2 |