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

Side by Side Diff: extensions/renderer/scripts_run_info.cc

Issue 2479093002: Migrate more files to histogram_macros.h from histogram.h. (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « extensions/renderer/script_injection.cc ('k') | google_apis/drive/auth_service.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "extensions/renderer/scripts_run_info.h" 5 #include "extensions/renderer/scripts_run_info.h"
6 6
7 #include "base/metrics/histogram.h" 7 #include "base/metrics/histogram_macros.h"
8 #include "content/public/renderer/render_frame.h" 8 #include "content/public/renderer/render_frame.h"
9 #include "content/public/renderer/render_thread.h" 9 #include "content/public/renderer/render_thread.h"
10 #include "extensions/common/extension_messages.h" 10 #include "extensions/common/extension_messages.h"
11 #include "extensions/renderer/script_context.h" 11 #include "extensions/renderer/script_context.h"
12 #include "third_party/WebKit/public/web/WebLocalFrame.h" 12 #include "third_party/WebKit/public/web/WebLocalFrame.h"
13 13
14 namespace extensions { 14 namespace extensions {
15 15
16 ScriptsRunInfo::ScriptsRunInfo(content::RenderFrame* render_frame, 16 ScriptsRunInfo::ScriptsRunInfo(content::RenderFrame* render_frame,
17 UserScript::RunLocation location) 17 UserScript::RunLocation location)
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 case UserScript::BROWSER_DRIVEN: 68 case UserScript::BROWSER_DRIVEN:
69 // TODO(rdevlin.cronin): Add histograms. 69 // TODO(rdevlin.cronin): Add histograms.
70 break; 70 break;
71 case UserScript::UNDEFINED: 71 case UserScript::UNDEFINED:
72 case UserScript::RUN_LOCATION_LAST: 72 case UserScript::RUN_LOCATION_LAST:
73 NOTREACHED(); 73 NOTREACHED();
74 } 74 }
75 } 75 }
76 76
77 } // namespace extensions 77 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/renderer/script_injection.cc ('k') | google_apis/drive/auth_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698