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_EXTENSIONS_EXTENSION_RECORD_API_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_RECORD_API_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_RECORD_API_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_RECORD_API_H_ |
7 #pragma once | |
8 | 7 |
9 #include "chrome/browser/extensions/extension_function.h" | 8 #include "chrome/browser/extensions/extension_function.h" |
10 #include "base/command_line.h" | 9 #include "base/command_line.h" |
11 #include "base/file_path.h" | 10 #include "base/file_path.h" |
12 #include "base/time.h" | 11 #include "base/time.h" |
13 | 12 |
14 namespace { | 13 namespace { |
15 | 14 |
16 const FilePath::CharType kURLErrorsSuffix[] = FILE_PATH_LITERAL(".errors"); | 15 const FilePath::CharType kURLErrorsSuffix[] = FILE_PATH_LITERAL(".errors"); |
17 const char kErrorsKey[] = "errors"; | 16 const char kErrorsKey[] = "errors"; |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 | 152 |
154 // This time datum marks the start and end of the sub-browser run. | 153 // This time datum marks the start and end of the sub-browser run. |
155 base::Time timer_; | 154 base::Time timer_; |
156 | 155 |
157 // These two data are additional information returned to caller. | 156 // These two data are additional information returned to caller. |
158 int run_time_ms_; | 157 int run_time_ms_; |
159 std::string stats_; | 158 std::string stats_; |
160 }; | 159 }; |
161 | 160 |
162 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_RECORD_API_H_ | 161 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_RECORD_API_H_ |
OLD | NEW |