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

Side by Side Diff: content/browser/device_orientation/device_motion_service.h

Issue 19398004: Use a direct include of the shared_memory header in content/browser/, content/child/, content/commo… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_DEVICE_ORIENTATION_DEVICE_MOTION_SERVICE_H_ 5 #ifndef CONTENT_BROWSER_DEVICE_ORIENTATION_DEVICE_MOTION_SERVICE_H_
6 #define CONTENT_BROWSER_DEVICE_ORIENTATION_DEVICE_MOTION_SERVICE_H_ 6 #define CONTENT_BROWSER_DEVICE_ORIENTATION_DEVICE_MOTION_SERVICE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/callback_forward.h" 9 #include "base/callback_forward.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/memory/shared_memory.h"
11 #include "base/memory/singleton.h" 12 #include "base/memory/singleton.h"
12 #include "base/shared_memory.h"
13 #include "base/threading/thread_checker.h" 13 #include "base/threading/thread_checker.h"
14 #include "content/common/content_export.h" 14 #include "content/common/content_export.h"
15 15
16 namespace content { 16 namespace content {
17 17
18 class DataFetcherSharedMemory; 18 class DataFetcherSharedMemory;
19 class DeviceMotionProvider; 19 class DeviceMotionProvider;
20 class RenderProcessHost; 20 class RenderProcessHost;
21 21
22 // Owns the DeviceMotionProvider (the background polling thread) and keeps 22 // Owns the DeviceMotionProvider (the background polling thread) and keeps
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 bool is_shutdown_; 56 bool is_shutdown_;
57 scoped_ptr<DeviceMotionProvider> provider_; 57 scoped_ptr<DeviceMotionProvider> provider_;
58 base::ThreadChecker thread_checker_; 58 base::ThreadChecker thread_checker_;
59 59
60 DISALLOW_COPY_AND_ASSIGN(DeviceMotionService); 60 DISALLOW_COPY_AND_ASSIGN(DeviceMotionService);
61 }; 61 };
62 62
63 } // namespace content 63 } // namespace content
64 64
65 #endif // CONTENT_BROWSER_DEVICE_ORIENTATION_DEVICE_MOTION_SERVICE_H_ 65 #endif // CONTENT_BROWSER_DEVICE_ORIENTATION_DEVICE_MOTION_SERVICE_H_
OLDNEW
« no previous file with comments | « content/browser/device_orientation/device_motion_provider.h ('k') | content/browser/fileapi/fileapi_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698