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

Unified Diff: content/browser/browser_context.cc

Issue 2510033002: [Device Service] Move PowerMonitor into the Device Service (Closed)
Patch Set: Rebase only Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/browser_context.cc
diff --git a/content/browser/browser_context.cc b/content/browser/browser_context.cc
index 6abd6c2aae714504fa3b03eb891bfc4bcde70193..2f14933f23671dbccfdb75af9bf429144e704f9b 100644
--- a/content/browser/browser_context.cc
+++ b/content/browser/browser_context.cc
@@ -39,8 +39,6 @@
#include "net/ssl/channel_id_store.h"
#include "net/url_request/url_request_context.h"
#include "net/url_request/url_request_context_getter.h"
-#include "services/device/device_service.h"
-#include "services/device/public/interfaces/constants.mojom.h"
#include "services/file/file_service.h"
#include "services/file/public/interfaces/constants.mojom.h"
#include "services/file/user_id_map.h"
@@ -455,13 +453,6 @@ void BrowserContext::Initialize(
connection->Start();
// New embedded service factories should be added to |connection| here.
- // TODO(blundell): Does this belong as a global service rather than per
- // BrowserContext?
- ServiceInfo info;
- info.factory =
- base::Bind(&device::CreateDeviceService,
- BrowserThread::GetTaskRunnerForThread(BrowserThread::FILE));
- connection->AddEmbeddedService(device::mojom::kServiceName, info);
if (base::CommandLine::ForCurrentProcess()->HasSwitch(
switches::kMojoLocalStorage)) {
« no previous file with comments | « content/browser/browser_child_process_host_impl.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698