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

Side by Side Diff: content/browser/device_sensors/data_fetcher_shared_memory_base.h

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 12 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_SENSORS_DATA_FETCHER_SHARED_MEMORY_BASE_H_ 5 #ifndef CONTENT_BROWSER_DEVICE_SENSORS_DATA_FETCHER_SHARED_MEMORY_BASE_H_
6 #define CONTENT_BROWSER_DEVICE_SENSORS_DATA_FETCHER_SHARED_MEMORY_BASE_H_ 6 #define CONTENT_BROWSER_DEVICE_SENSORS_DATA_FETCHER_SHARED_MEMORY_BASE_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/macros.h"
10 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
11 #include "base/memory/shared_memory.h" 12 #include "base/memory/shared_memory.h"
12 #include "base/message_loop/message_loop.h" 13 #include "base/message_loop/message_loop.h"
13 #include "content/browser/device_sensors/device_sensors_consts.h" 14 #include "content/browser/device_sensors/device_sensors_consts.h"
14 #include "content/common/content_export.h" 15 #include "content/common/content_export.h"
15 16
16 namespace content { 17 namespace content {
17 18
18 // Sensor data fetchers should derive from this base class and implement 19 // Sensor data fetchers should derive from this base class and implement
19 // the abstract Start() and Stop() methods. 20 // the abstract Start() and Stop() methods.
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 // Owning pointers. Objects in the map are deleted in dtor. 94 // Owning pointers. Objects in the map are deleted in dtor.
94 typedef std::map<ConsumerType, base::SharedMemory*> SharedMemoryMap; 95 typedef std::map<ConsumerType, base::SharedMemory*> SharedMemoryMap;
95 SharedMemoryMap shared_memory_map_; 96 SharedMemoryMap shared_memory_map_;
96 97
97 DISALLOW_COPY_AND_ASSIGN(DataFetcherSharedMemoryBase); 98 DISALLOW_COPY_AND_ASSIGN(DataFetcherSharedMemoryBase);
98 }; 99 };
99 100
100 } // namespace content 101 } // namespace content
101 102
102 #endif // CONTENT_BROWSER_DEVICE_SENSORS_DATA_FETCHER_SHARED_MEMORY_BASE_H_ 103 #endif // CONTENT_BROWSER_DEVICE_SENSORS_DATA_FETCHER_SHARED_MEMORY_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698