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

Side by Side Diff: components/device_event_log/device_event_log_impl.h

Issue 1011823002: Fix some GN component build issues. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 years, 9 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
« no previous file with comments | « components/device_event_log/device_event_log_export.h ('k') | gpu/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 COMPONENTS_DEVICE_EVENT_LOG_DEVICE_EVENT_LOG_IMPL_H_ 5 #ifndef COMPONENTS_DEVICE_EVENT_LOG_DEVICE_EVENT_LOG_IMPL_H_
6 #define COMPONENTS_DEVICE_EVENT_LOG_DEVICE_EVENT_LOG_IMPL_H_ 6 #define COMPONENTS_DEVICE_EVENT_LOG_DEVICE_EVENT_LOG_IMPL_H_
7 7
8 #include <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 10
11 #include "base/time/time.h" 11 #include "base/time/time.h"
12 #include "components/device_event_log/device_event_log.h" 12 #include "components/device_event_log/device_event_log.h"
13 #include "components/device_event_log/device_event_log_export.h"
14 13
15 namespace device_event_log { 14 namespace device_event_log {
16 15
17 class DEVICE_EVENT_LOG_EXPORT DeviceEventLogImpl { 16 class DeviceEventLogImpl {
18 public: 17 public:
19 struct LogEntry { 18 struct LogEntry {
20 LogEntry(const char* filedesc, 19 LogEntry(const char* filedesc,
21 int file_line, 20 int file_line,
22 LogType log_type, 21 LogType log_type,
23 LogLevel log_level, 22 LogLevel log_level,
24 const std::string& event); 23 const std::string& event);
25 24
26 std::string file; 25 std::string file;
27 int file_line; 26 int file_line;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 69
71 size_t max_entries_; 70 size_t max_entries_;
72 LogEntryList entries_; 71 LogEntryList entries_;
73 72
74 DISALLOW_COPY_AND_ASSIGN(DeviceEventLogImpl); 73 DISALLOW_COPY_AND_ASSIGN(DeviceEventLogImpl);
75 }; 74 };
76 75
77 } // namespace device_event_log 76 } // namespace device_event_log
78 77
79 #endif // COMPONENTS_DEVICE_EVENT_LOG_DEVICE_EVENT_LOG_IMPL_H_ 78 #endif // COMPONENTS_DEVICE_EVENT_LOG_DEVICE_EVENT_LOG_IMPL_H_
OLDNEW
« no previous file with comments | « components/device_event_log/device_event_log_export.h ('k') | gpu/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698