Move WakeLock to be part of the internal implementation of Device Service.

This CL moves wake lock from //device into //services/device, updates all wake
lock clients' BUILD.gn and DEPS.

To avoid make this CL too big, The PowerSaveBlocker was left alone in
//device. In next CL we'll move the //device/power_save_blocker into //services
and make it visiable in GN only to //services/device.

BUG=689429

Cq-Include-Trybots: master.tryserver.chromium.linux:linux_site_isolation
Change-Id: Ic50dfb3284995919d3f58d656b12ca649a8d17e9
Reviewed-on: https://chromium-review.googlesource.com/554950
Commit-Queue: Ke He <[email protected]>
Reviewed-by: Tom Sepez <[email protected]>
Reviewed-by: Colin Blundell <[email protected]>
Reviewed-by: Dan Erat <[email protected]>
Reviewed-by: Jochen Eisinger <[email protected]>
Reviewed-by: Kentaro Hara <[email protected]>
Cr-Commit-Position: refs/heads/master@{#484837}
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
index d1c77283..4f9d7ce 100644
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -1623,7 +1623,6 @@
     "//crypto:platform",
     "//device/base",
     "//device/bluetooth:mojo",
-    "//device/power_save_blocker",
     "//device/usb/mojo",
     "//device/usb/public/interfaces",
     "//device/vr/features",
@@ -1974,9 +1973,9 @@
       "//chrome/common/extensions/api:extensions_features",
       "//components/drive",
       "//components/guest_view/browser",
-      "//device/wake_lock/public/interfaces",
       "//extensions/components/javascript_dialog_extensions_client",
       "//media/cast:net",
+      "//services/device/public/interfaces",
     ]
   }
   if (enable_background) {
@@ -2125,10 +2124,9 @@
     ]
     deps += [
       "//components/pdf/browser",
-      "//device/wake_lock/public/interfaces",
       "//ppapi/features",
       "//ppapi/proxy:ipc",
-      "//services/device/public/interfaces:constants",
+      "//services/device/public/interfaces",
       "//third_party/adobe/flash:flapper_version_h",
     ]
   }