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

Side by Side Diff: extensions/browser/api/app_runtime/app_runtime_api.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
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/browser/api/app_runtime/app_runtime_api.h" 5 #include "extensions/browser/api/app_runtime/app_runtime_api.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/memory/ptr_util.h" 11 #include "base/memory/ptr_util.h"
12 #include "base/metrics/histogram.h" 12 #include "base/metrics/histogram_macros.h"
13 #include "base/time/time.h" 13 #include "base/time/time.h"
14 #include "base/values.h" 14 #include "base/values.h"
15 #include "extensions/browser/entry_info.h" 15 #include "extensions/browser/entry_info.h"
16 #include "extensions/browser/event_router.h" 16 #include "extensions/browser/event_router.h"
17 #include "extensions/browser/extension_prefs.h" 17 #include "extensions/browser/extension_prefs.h"
18 #include "extensions/browser/extensions_browser_client.h" 18 #include "extensions/browser/extensions_browser_client.h"
19 #include "extensions/browser/granted_file_entry.h" 19 #include "extensions/browser/granted_file_entry.h"
20 #include "extensions/common/api/app_runtime.h" 20 #include "extensions/common/api/app_runtime.h"
21 #include "extensions/common/constants.h" 21 #include "extensions/common/constants.h"
22 #include "extensions/common/feature_switch.h" 22 #include "extensions/common/feature_switch.h"
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 launch_data.url.reset(new std::string(url.spec())); 224 launch_data.url.reset(new std::string(url.spec()));
225 launch_data.referrer_url.reset(new std::string(referrer_url.spec())); 225 launch_data.referrer_url.reset(new std::string(referrer_url.spec()));
226 if (extensions::FeatureSwitch::trace_app_source()->IsEnabled()) { 226 if (extensions::FeatureSwitch::trace_app_source()->IsEnabled()) {
227 launch_data.source = source_enum; 227 launch_data.source = source_enum;
228 } 228 }
229 DispatchOnLaunchedEventImpl(extension->id(), source_enum, 229 DispatchOnLaunchedEventImpl(extension->id(), source_enum,
230 launch_data.ToValue(), context); 230 launch_data.ToValue(), context);
231 } 231 }
232 232
233 } // namespace extensions 233 } // namespace extensions
OLDNEW
« no previous file with comments | « device/geolocation/geolocation_service_impl.cc ('k') | extensions/browser/api/cast_channel/cast_auth_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698