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 "chrome/browser/rlz/rlz.h" | 5 #include "chrome/browser/rlz/rlz.h" |
6 | 6 |
7 #include "base/files/scoped_temp_dir.h" | 7 #include "base/files/scoped_temp_dir.h" |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
| 11 #include "base/scoped_temp_dir.h" |
11 #include "base/stringprintf.h" | 12 #include "base/stringprintf.h" |
12 #include "base/threading/thread.h" | 13 #include "base/threading/thread.h" |
13 #include "base/utf_string_conversions.h" | 14 #include "base/utf_string_conversions.h" |
14 #include "chrome/browser/autocomplete/autocomplete_log.h" | 15 #include "chrome/browser/autocomplete/autocomplete_log.h" |
15 #include "chrome/browser/google/google_util.h" | 16 #include "chrome/browser/google/google_util.h" |
16 #include "chrome/browser/profiles/profile.h" | 17 #include "chrome/browser/profiles/profile.h" |
17 #include "chrome/common/chrome_notification_types.h" | 18 #include "chrome/common/chrome_notification_types.h" |
18 #include "chrome/common/env_vars.h" | 19 #include "chrome/common/env_vars.h" |
19 #include "chrome/installer/util/browser_distribution.h" | 20 #include "chrome/installer/util/browser_distribution.h" |
20 #include "chrome/installer/util/google_update_constants.h" | 21 #include "chrome/installer/util/google_update_constants.h" |
(...skipping 775 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
796 SetMainBrand("GGLS"); | 797 SetMainBrand("GGLS"); |
797 SetReactivationBrand("GGRS"); | 798 SetReactivationBrand("GGRS"); |
798 | 799 |
799 RLZTracker::InitRlzDelayed(true, 20, true, true, false); | 800 RLZTracker::InitRlzDelayed(true, 20, true, true, false); |
800 InvokeDelayedInit(); | 801 InvokeDelayedInit(); |
801 | 802 |
802 ExpectRlzPingSent(false); | 803 ExpectRlzPingSent(false); |
803 ExpectReactivationRlzPingSent(false); | 804 ExpectReactivationRlzPingSent(false); |
804 } | 805 } |
805 #endif // defined(OS_WIN) | 806 #endif // defined(OS_WIN) |
OLD | NEW |