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 #include <string> | 5 #include <string> |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "base/message_loop.h" | 8 #include "base/message_loop.h" |
9 #include "base/port.h" | 9 #include "base/port.h" |
| 10 #include "base/prefs/pref_service.h" |
10 #include "base/string_util.h" | 11 #include "base/string_util.h" |
11 #include "base/stringprintf.h" | 12 #include "base/stringprintf.h" |
12 #include "base/time.h" | 13 #include "base/time.h" |
13 #include "base/tracked_objects.h" | 14 #include "base/tracked_objects.h" |
14 #include "chrome/browser/google/google_util.h" | 15 #include "chrome/browser/google/google_util.h" |
15 #include "chrome/browser/metrics/metrics_log.h" | 16 #include "chrome/browser/metrics/metrics_log.h" |
16 #include "chrome/browser/prefs/browser_prefs.h" | 17 #include "chrome/browser/prefs/browser_prefs.h" |
17 #include "chrome/browser/prefs/pref_service.h" | |
18 #include "chrome/common/metrics/proto/profiler_event.pb.h" | 18 #include "chrome/common/metrics/proto/profiler_event.pb.h" |
19 #include "chrome/common/metrics/proto/system_profile.pb.h" | 19 #include "chrome/common/metrics/proto/system_profile.pb.h" |
20 #include "chrome/common/metrics/variations/variations_util.h" | 20 #include "chrome/common/metrics/variations/variations_util.h" |
21 #include "chrome/common/pref_names.h" | 21 #include "chrome/common/pref_names.h" |
22 #include "chrome/installer/util/google_update_settings.h" | 22 #include "chrome/installer/util/google_update_settings.h" |
23 #include "chrome/test/base/testing_pref_service.h" | 23 #include "chrome/test/base/testing_pref_service.h" |
24 #include "googleurl/src/gurl.h" | 24 #include "googleurl/src/gurl.h" |
25 #include "testing/gtest/include/gtest/gtest.h" | 25 #include "testing/gtest/include/gtest/gtest.h" |
26 #include "ui/gfx/size.h" | 26 #include "ui/gfx/size.h" |
27 #include "webkit/plugins/webplugininfo.h" | 27 #include "webkit/plugins/webplugininfo.h" |
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
321 EXPECT_NE(std::string::npos, | 321 EXPECT_NE(std::string::npos, |
322 encoded.find(" childprocesscrashcount=\"10\"")); | 322 encoded.find(" childprocesscrashcount=\"10\"")); |
323 EXPECT_EQ(std::string::npos, | 323 EXPECT_EQ(std::string::npos, |
324 encoded.find(" otherusercrashcount=")); | 324 encoded.find(" otherusercrashcount=")); |
325 EXPECT_EQ(std::string::npos, | 325 EXPECT_EQ(std::string::npos, |
326 encoded.find(" kernelcrashcount=")); | 326 encoded.find(" kernelcrashcount=")); |
327 EXPECT_EQ(std::string::npos, | 327 EXPECT_EQ(std::string::npos, |
328 encoded.find(" systemuncleanshutdowns=")); | 328 encoded.find(" systemuncleanshutdowns=")); |
329 } | 329 } |
330 #endif // OS_CHROMEOS | 330 #endif // OS_CHROMEOS |
OLD | NEW |