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

Side by Side Diff: chrome/browser/extensions/extension_service.cc

Issue 8919017: Split UserMetrics into API vs. implementation. Move API to content/public. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Version for commit (merged again). Created 9 years 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) 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 "chrome/browser/extensions/extension_service.h" 5 #include "chrome/browser/extensions/extension_service.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <set> 8 #include <set>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 #include "chrome/common/extensions/extension.h" 85 #include "chrome/common/extensions/extension.h"
86 #include "chrome/common/extensions/extension_constants.h" 86 #include "chrome/common/extensions/extension_constants.h"
87 #include "chrome/common/extensions/extension_error_utils.h" 87 #include "chrome/common/extensions/extension_error_utils.h"
88 #include "chrome/common/extensions/extension_file_util.h" 88 #include "chrome/common/extensions/extension_file_util.h"
89 #include "chrome/common/extensions/extension_messages.h" 89 #include "chrome/common/extensions/extension_messages.h"
90 #include "chrome/common/extensions/extension_resource.h" 90 #include "chrome/common/extensions/extension_resource.h"
91 #include "chrome/common/pref_names.h" 91 #include "chrome/common/pref_names.h"
92 #include "chrome/common/url_constants.h" 92 #include "chrome/common/url_constants.h"
93 #include "content/browser/plugin_process_host.h" 93 #include "content/browser/plugin_process_host.h"
94 #include "content/browser/plugin_service.h" 94 #include "content/browser/plugin_service.h"
95 #include "content/browser/user_metrics.h"
96 #include "content/public/browser/browser_thread.h" 95 #include "content/public/browser/browser_thread.h"
97 #include "content/public/browser/devtools_agent_host_registry.h" 96 #include "content/public/browser/devtools_agent_host_registry.h"
98 #include "content/public/browser/devtools_manager.h" 97 #include "content/public/browser/devtools_manager.h"
99 #include "content/public/browser/notification_service.h" 98 #include "content/public/browser/notification_service.h"
100 #include "content/public/browser/notification_types.h" 99 #include "content/public/browser/notification_types.h"
101 #include "content/public/browser/render_process_host.h" 100 #include "content/public/browser/render_process_host.h"
102 #include "content/public/common/pepper_plugin_info.h" 101 #include "content/public/common/pepper_plugin_info.h"
103 #include "googleurl/src/gurl.h" 102 #include "googleurl/src/gurl.h"
104 #include "grit/theme_resources.h" 103 #include "grit/theme_resources.h"
105 #include "net/base/registry_controlled_domain.h" 104 #include "net/base/registry_controlled_domain.h"
(...skipping 2450 matching lines...) Expand 10 before | Expand all | Expand 10 after
2556 // 2555 //
2557 // To coexist with certain unit tests that don't have an IO thread message 2556 // To coexist with certain unit tests that don't have an IO thread message
2558 // loop available at ExtensionService shutdown, we lazy-initialize this 2557 // loop available at ExtensionService shutdown, we lazy-initialize this
2559 // object so that those cases neither create nor destroy a SocketController. 2558 // object so that those cases neither create nor destroy a SocketController.
2560 CHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); 2559 CHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
2561 if (!socket_controller_) { 2560 if (!socket_controller_) {
2562 socket_controller_ = new extensions::SocketController(); 2561 socket_controller_ = new extensions::SocketController();
2563 } 2562 }
2564 return socket_controller_; 2563 return socket_controller_;
2565 } 2564 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_metrics_module.cc ('k') | chrome/browser/extensions/file_manager_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698