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

Side by Side Diff: chrome/browser/extensions/api/metrics/metrics_apitest.cc

Issue 10696145: Moving metrics to api/ . (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Putting back "using" and updating WATCHLISTS Created 8 years, 5 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <map> 5 #include <map>
6 6
7 #include "base/metrics/histogram.h" 7 #include "base/metrics/histogram.h"
8 #include "chrome/browser/extensions/extension_apitest.h" 8 #include "chrome/browser/extensions/extension_apitest.h"
9 #include "content/public/browser/notification_registrar.h" 9 #include "content/public/browser/notification_registrar.h"
10 #include "content/public/browser/notification_service.h" 10 #include "content/public/browser/notification_service.h"
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 } // anonymous namespace 123 } // anonymous namespace
124 124
125 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, Metrics) { 125 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, Metrics) {
126 UserActionObserver observer; 126 UserActionObserver observer;
127 127
128 ASSERT_TRUE(RunComponentExtensionTest("metrics")) << message_; 128 ASSERT_TRUE(RunComponentExtensionTest("metrics")) << message_;
129 129
130 observer.ValidateUserActions(g_user_actions, arraysize(g_user_actions)); 130 observer.ValidateUserActions(g_user_actions, arraysize(g_user_actions));
131 ValidateHistograms(g_histograms, arraysize(g_histograms)); 131 ValidateHistograms(g_histograms, arraysize(g_histograms));
132 } 132 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/metrics/metrics.cc ('k') | chrome/browser/extensions/extension_function_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698