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

Side by Side Diff: chrome/browser/performance_monitor/performance_monitor.cc

Issue 15239002: Move Extension and PermissionsData to extensions/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/browser/performance_monitor/performance_monitor.h" 5 #include "chrome/browser/performance_monitor/performance_monitor.h"
6 6
7 #include <set> 7 #include <set>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 10 matching lines...) Expand all
21 #include "chrome/browser/chrome_notification_types.h" 21 #include "chrome/browser/chrome_notification_types.h"
22 #include "chrome/browser/extensions/crx_installer.h" 22 #include "chrome/browser/extensions/crx_installer.h"
23 #include "chrome/browser/performance_monitor/constants.h" 23 #include "chrome/browser/performance_monitor/constants.h"
24 #include "chrome/browser/performance_monitor/performance_monitor_util.h" 24 #include "chrome/browser/performance_monitor/performance_monitor_util.h"
25 #include "chrome/browser/profiles/profile.h" 25 #include "chrome/browser/profiles/profile.h"
26 #include "chrome/browser/profiles/profile_manager.h" 26 #include "chrome/browser/profiles/profile_manager.h"
27 #include "chrome/browser/ui/browser.h" 27 #include "chrome/browser/ui/browser.h"
28 #include "chrome/browser/ui/browser_iterator.h" 28 #include "chrome/browser/ui/browser_iterator.h"
29 #include "chrome/common/chrome_switches.h" 29 #include "chrome/common/chrome_switches.h"
30 #include "chrome/common/chrome_version_info.h" 30 #include "chrome/common/chrome_version_info.h"
31 #include "chrome/common/extensions/extension.h"
32 #include "chrome/common/extensions/extension_constants.h" 31 #include "chrome/common/extensions/extension_constants.h"
33 #include "content/public/browser/browser_child_process_host.h" 32 #include "content/public/browser/browser_child_process_host.h"
34 #include "content/public/browser/browser_child_process_host_iterator.h" 33 #include "content/public/browser/browser_child_process_host_iterator.h"
35 #include "content/public/browser/browser_thread.h" 34 #include "content/public/browser/browser_thread.h"
36 #include "content/public/browser/child_process_data.h" 35 #include "content/public/browser/child_process_data.h"
37 #include "content/public/browser/load_notification_details.h" 36 #include "content/public/browser/load_notification_details.h"
38 #include "content/public/browser/notification_service.h" 37 #include "content/public/browser/notification_service.h"
39 #include "content/public/browser/notification_types.h" 38 #include "content/public/browser/notification_types.h"
40 #include "content/public/browser/render_view_host.h" 39 #include "content/public/browser/render_view_host.h"
41 #include "content/public/browser/render_widget_host.h" 40 #include "content/public/browser/render_widget_host.h"
42 #include "content/public/browser/render_widget_host_iterator.h" 41 #include "content/public/browser/render_widget_host_iterator.h"
43 #include "content/public/browser/web_contents.h" 42 #include "content/public/browser/web_contents.h"
43 #include "extensions/common/extension.h"
44 #include "net/url_request/url_request.h" 44 #include "net/url_request/url_request.h"
45 45
46 using content::BrowserThread; 46 using content::BrowserThread;
47 using extensions::Extension; 47 using extensions::Extension;
48 using extensions::UnloadedExtensionInfo; 48 using extensions::UnloadedExtensionInfo;
49 49
50 namespace performance_monitor { 50 namespace performance_monitor {
51 51
52 namespace { 52 namespace {
53 53
(...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after
703 if (!url_list.empty()) 703 if (!url_list.empty())
704 url_list += ", "; 704 url_list += ", ";
705 705
706 url_list += url; 706 url_list += url;
707 } 707 }
708 708
709 AddEvent(util::CreateRendererFailureEvent(base::Time::Now(), type, url_list)); 709 AddEvent(util::CreateRendererFailureEvent(base::Time::Now(), type, url_list));
710 } 710 }
711 711
712 } // namespace performance_monitor 712 } // namespace performance_monitor
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698