| 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/prefs/pref_service.h" |
| 11 #include "base/prefs/testing_pref_service.h" | 11 #include "base/prefs/testing_pref_service.h" |
| 12 #include "base/string_util.h" | 12 #include "base/string_util.h" |
| 13 #include "base/stringprintf.h" | 13 #include "base/stringprintf.h" |
| 14 #include "base/threading/sequenced_worker_pool.h" | 14 #include "base/threading/sequenced_worker_pool.h" |
| 15 #include "base/time.h" | 15 #include "base/time.h" |
| 16 #include "base/tracked_objects.h" | 16 #include "base/tracked_objects.h" |
| 17 #include "chrome/browser/google/google_util.h" | 17 #include "chrome/browser/google/google_util.h" |
| 18 #include "chrome/browser/metrics/metrics_log.h" | 18 #include "chrome/browser/metrics/metrics_log.h" |
| 19 #include "chrome/browser/prefs/browser_prefs.h" | 19 #include "chrome/browser/prefs/browser_prefs.h" |
| 20 #include "chrome/common/chrome_process_type.h" |
| 20 #include "chrome/common/metrics/proto/profiler_event.pb.h" | 21 #include "chrome/common/metrics/proto/profiler_event.pb.h" |
| 21 #include "chrome/common/metrics/proto/system_profile.pb.h" | 22 #include "chrome/common/metrics/proto/system_profile.pb.h" |
| 22 #include "chrome/common/metrics/variations/variations_util.h" | 23 #include "chrome/common/metrics/variations/variations_util.h" |
| 23 #include "chrome/common/pref_names.h" | 24 #include "chrome/common/pref_names.h" |
| 24 #include "chrome/installer/util/google_update_settings.h" | 25 #include "chrome/installer/util/google_update_settings.h" |
| 25 #include "content/public/browser/browser_thread.h" | 26 #include "content/public/browser/browser_thread.h" |
| 26 #include "content/public/test/test_utils.h" | 27 #include "content/public/test/test_utils.h" |
| 27 #include "googleurl/src/gurl.h" | 28 #include "googleurl/src/gurl.h" |
| 28 #include "testing/gtest/include/gtest/gtest.h" | 29 #include "testing/gtest/include/gtest/gtest.h" |
| 29 #include "ui/gfx/size.h" | 30 #include "ui/gfx/size.h" |
| (...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 332 EXPECT_NE(std::string::npos, | 333 EXPECT_NE(std::string::npos, |
| 333 encoded.find(" childprocesscrashcount=\"10\"")); | 334 encoded.find(" childprocesscrashcount=\"10\"")); |
| 334 EXPECT_EQ(std::string::npos, | 335 EXPECT_EQ(std::string::npos, |
| 335 encoded.find(" otherusercrashcount=")); | 336 encoded.find(" otherusercrashcount=")); |
| 336 EXPECT_EQ(std::string::npos, | 337 EXPECT_EQ(std::string::npos, |
| 337 encoded.find(" kernelcrashcount=")); | 338 encoded.find(" kernelcrashcount=")); |
| 338 EXPECT_EQ(std::string::npos, | 339 EXPECT_EQ(std::string::npos, |
| 339 encoded.find(" systemuncleanshutdowns=")); | 340 encoded.find(" systemuncleanshutdowns=")); |
| 340 } | 341 } |
| 341 #endif // OS_CHROMEOS | 342 #endif // OS_CHROMEOS |
| OLD | NEW |