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

Side by Side Diff: content/browser/wake_lock/wake_lock_service_context.h

Issue 1410053006: Move third_party/mojo/src/mojo/public to mojo/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef CONTENT_BROWSER_WAKE_LOCK_WAKE_LOCK_SERVICE_CONTEXT_H_ 5 #ifndef CONTENT_BROWSER_WAKE_LOCK_WAKE_LOCK_SERVICE_CONTEXT_H_
6 #define CONTENT_BROWSER_WAKE_LOCK_WAKE_LOCK_SERVICE_CONTEXT_H_ 6 #define CONTENT_BROWSER_WAKE_LOCK_WAKE_LOCK_SERVICE_CONTEXT_H_
7 7
8 #include <set> 8 #include <set>
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
14 #include "content/browser/wake_lock/wake_lock_service_impl.h" 14 #include "content/browser/wake_lock/wake_lock_service_impl.h"
15 #include "content/common/content_export.h" 15 #include "content/common/content_export.h"
16 #include "content/public/browser/web_contents_observer.h" 16 #include "content/public/browser/web_contents_observer.h"
17 #include "third_party/mojo/src/mojo/public/cpp/bindings/interface_request.h" 17 #include "mojo/public/cpp/bindings/interface_request.h"
18 18
19 namespace content { 19 namespace content {
20 20
21 class PowerSaveBlocker; 21 class PowerSaveBlocker;
22 class RenderFrameHost; 22 class RenderFrameHost;
23 class WebContents; 23 class WebContents;
24 24
25 class CONTENT_EXPORT WakeLockServiceContext : public WebContentsObserver { 25 class CONTENT_EXPORT WakeLockServiceContext : public WebContentsObserver {
26 public: 26 public:
27 explicit WakeLockServiceContext(WebContents* web_contents); 27 explicit WakeLockServiceContext(WebContents* web_contents);
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 scoped_ptr<PowerSaveBlocker> wake_lock_; 59 scoped_ptr<PowerSaveBlocker> wake_lock_;
60 60
61 base::WeakPtrFactory<WakeLockServiceContext> weak_factory_; 61 base::WeakPtrFactory<WakeLockServiceContext> weak_factory_;
62 62
63 DISALLOW_COPY_AND_ASSIGN(WakeLockServiceContext); 63 DISALLOW_COPY_AND_ASSIGN(WakeLockServiceContext);
64 }; 64 };
65 65
66 } // namespace content 66 } // namespace content
67 67
68 #endif // CONTENT_BROWSER_WAKE_LOCK_WAKE_LOCK_SERVICE_CONTEXT_H_ 68 #endif // CONTENT_BROWSER_WAKE_LOCK_WAKE_LOCK_SERVICE_CONTEXT_H_
OLDNEW
« no previous file with comments | « content/browser/vibration_manager_integration_browsertest.cc ('k') | content/browser/wake_lock/wake_lock_service_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698