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

Side by Side Diff: third_party/leveldatabase/env_chromium.cc

Issue 1544433002: Replace RE2 import with a dependency (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re-Added LICENSE and OWNERS file 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
« no previous file with comments | « gpu/config/gpu_info_collector_win.cc ('k') | third_party/re2/.gitignore » ('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 (c) 2011 The LevelDB Authors. All rights reserved. 1 // Copyright (c) 2011 The LevelDB 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. See the AUTHORS file for names of contributors. 3 // found in the LICENSE file. See the AUTHORS file for names of contributors.
4 4
5 #include "third_party/leveldatabase/env_chromium.h" 5 #include "third_party/leveldatabase/env_chromium.h"
6 6
7 #if defined(OS_POSIX) 7 #if defined(OS_POSIX)
8 #include <dirent.h> 8 #include <dirent.h>
9 #include <sys/types.h> 9 #include <sys/types.h>
10 #endif 10 #endif
11 11
12 #include "base/files/file_util.h" 12 #include "base/files/file_util.h"
13 #include "base/lazy_instance.h" 13 #include "base/lazy_instance.h"
14 #include "base/metrics/histogram.h" 14 #include "base/metrics/histogram.h"
15 #include "base/process/process_metrics.h" 15 #include "base/process/process_metrics.h"
16 #include "base/stl_util.h" 16 #include "base/stl_util.h"
17 #include "base/strings/stringprintf.h" 17 #include "base/strings/stringprintf.h"
18 #include "base/strings/utf_string_conversions.h" 18 #include "base/strings/utf_string_conversions.h"
19 #include "base/threading/thread_restrictions.h" 19 #include "base/threading/thread_restrictions.h"
20 #include "base/trace_event/trace_event.h" 20 #include "base/trace_event/trace_event.h"
21 #include "third_party/leveldatabase/chromium_logger.h" 21 #include "third_party/leveldatabase/chromium_logger.h"
22 #include "third_party/re2/re2/re2.h" 22 #include "third_party/re2/src/re2/re2.h"
23 23
24 using base::FilePath; 24 using base::FilePath;
25 using leveldb::FileLock; 25 using leveldb::FileLock;
26 using leveldb::Slice; 26 using leveldb::Slice;
27 using leveldb::Status; 27 using leveldb::Status;
28 28
29 namespace leveldb_env { 29 namespace leveldb_env {
30 30
31 namespace { 31 namespace {
32 32
(...skipping 1043 matching lines...) Expand 10 before | Expand all | Expand 10 after
1076 1076
1077 } // namespace leveldb_env 1077 } // namespace leveldb_env
1078 1078
1079 namespace leveldb { 1079 namespace leveldb {
1080 1080
1081 Env* Env::Default() { 1081 Env* Env::Default() {
1082 return leveldb_env::default_env.Pointer(); 1082 return leveldb_env::default_env.Pointer();
1083 } 1083 }
1084 1084
1085 } // namespace leveldb 1085 } // namespace leveldb
OLDNEW
« no previous file with comments | « gpu/config/gpu_info_collector_win.cc ('k') | third_party/re2/.gitignore » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698