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

Side by Side Diff: net/log/bounded_file_net_log_observer.h

Issue 2562113002: Fix header guards in //net. (Closed)
Patch Set: Created 4 years 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 | « net/http/mock_gssapi_library_posix.cc ('k') | net/log/write_to_file_net_log_observer.h » ('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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 BOUNDED_FILE_NET_LOG_OBSERVER_H_ 5 #ifndef NET_LOG_BOUNDED_FILE_NET_LOG_OBSERVER_H_
6 #define BOUNDED_FILE_NET_LOG_OBSERVER_H_ 6 #define NET_LOG_BOUNDED_FILE_NET_LOG_OBSERVER_H_
7 7
8 #include <queue> 8 #include <queue>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "base/files/scoped_file.h" 11 #include "base/files/scoped_file.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "base/synchronization/lock.h" 15 #include "base/synchronization/lock.h"
16 #include "base/threading/thread.h" 16 #include "base/threading/thread.h"
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 // The use of base::Unretained with |file_writer_| to post tasks to the file 125 // The use of base::Unretained with |file_writer_| to post tasks to the file
126 // thread is safe because the FileWriter object will be alive until the 126 // thread is safe because the FileWriter object will be alive until the
127 // observer's destruction. 127 // observer's destruction.
128 FileWriter* file_writer_; 128 FileWriter* file_writer_;
129 129
130 DISALLOW_COPY_AND_ASSIGN(BoundedFileNetLogObserver); 130 DISALLOW_COPY_AND_ASSIGN(BoundedFileNetLogObserver);
131 }; 131 };
132 132
133 } // namespace net 133 } // namespace net
134 134
135 #endif // BOUNDED_FILE_NET_LOG_OBSERVER_H_ 135 #endif // NET_LOG_BOUNDED_FILE_NET_LOG_OBSERVER_H_
OLDNEW
« no previous file with comments | « net/http/mock_gssapi_library_posix.cc ('k') | net/log/write_to_file_net_log_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698