OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_BROWSER_PERFORMANCE_MONITOR_DATABASE_H_ | 5 #ifndef CHROME_BROWSER_PERFORMANCE_MONITOR_DATABASE_H_ |
6 #define CHROME_BROWSER_PERFORMANCE_MONITOR_DATABASE_H_ | 6 #define CHROME_BROWSER_PERFORMANCE_MONITOR_DATABASE_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
13 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
14 #include "base/memory/linked_ptr.h" | 14 #include "base/memory/linked_ptr.h" |
15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
16 #include "base/time.h" | 16 #include "base/time/time.h" |
17 #include "chrome/browser/performance_monitor/constants.h" | 17 #include "chrome/browser/performance_monitor/constants.h" |
18 #include "chrome/browser/performance_monitor/event.h" | 18 #include "chrome/browser/performance_monitor/event.h" |
19 #include "chrome/browser/performance_monitor/metric.h" | 19 #include "chrome/browser/performance_monitor/metric.h" |
20 #include "third_party/leveldatabase/src/include/leveldb/db.h" | 20 #include "third_party/leveldatabase/src/include/leveldb/db.h" |
21 | 21 |
22 namespace performance_monitor { | 22 namespace performance_monitor { |
23 | 23 |
24 struct TimeRange { | 24 struct TimeRange { |
25 TimeRange(); | 25 TimeRange(); |
26 TimeRange(base::Time start_time, base::Time end_time); | 26 TimeRange(base::Time start_time, base::Time end_time); |
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 // Indicates whether or not the database successfully initialized. If false, | 314 // Indicates whether or not the database successfully initialized. If false, |
315 // the Create() call will return NULL. | 315 // the Create() call will return NULL. |
316 bool valid_; | 316 bool valid_; |
317 | 317 |
318 DISALLOW_COPY_AND_ASSIGN(Database); | 318 DISALLOW_COPY_AND_ASSIGN(Database); |
319 }; | 319 }; |
320 | 320 |
321 } // namespace performance_monitor | 321 } // namespace performance_monitor |
322 | 322 |
323 #endif // CHROME_BROWSER_PERFORMANCE_MONITOR_DATABASE_H_ | 323 #endif // CHROME_BROWSER_PERFORMANCE_MONITOR_DATABASE_H_ |
OLD | NEW |