| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_PROFILE_RESETTER_BRANDCODE_CONFIG_FETCHER_H_ | 5 #ifndef CHROME_BROWSER_PROFILE_RESETTER_BRANDCODE_CONFIG_FETCHER_H_ |
| 6 #define CHROME_BROWSER_PROFILE_RESETTER_BRANDCODE_CONFIG_FETCHER_H_ | 6 #define CHROME_BROWSER_PROFILE_RESETTER_BRANDCODE_CONFIG_FETCHER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> |
| 9 #include <utility> | 10 #include <utility> |
| 10 | 11 |
| 11 #include "base/callback.h" | 12 #include "base/callback.h" |
| 12 #include "base/macros.h" | 13 #include "base/macros.h" |
| 13 #include "base/timer/timer.h" | 14 #include "base/timer/timer.h" |
| 14 #include "net/url_request/url_fetcher_delegate.h" | 15 #include "net/url_request/url_fetcher_delegate.h" |
| 15 | 16 |
| 16 class BrandcodedDefaultSettings; | 17 class BrandcodedDefaultSettings; |
| 17 class GURL; | 18 class GURL; |
| 18 | 19 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 // Helper to fetch the online config file. | 53 // Helper to fetch the online config file. |
| 53 std::unique_ptr<net::URLFetcher> config_fetcher_; | 54 std::unique_ptr<net::URLFetcher> config_fetcher_; |
| 54 | 55 |
| 55 // Fetched settings. | 56 // Fetched settings. |
| 56 std::unique_ptr<BrandcodedDefaultSettings> default_settings_; | 57 std::unique_ptr<BrandcodedDefaultSettings> default_settings_; |
| 57 | 58 |
| 58 DISALLOW_COPY_AND_ASSIGN(BrandcodeConfigFetcher); | 59 DISALLOW_COPY_AND_ASSIGN(BrandcodeConfigFetcher); |
| 59 }; | 60 }; |
| 60 | 61 |
| 61 #endif // CHROME_BROWSER_PROFILE_RESETTER_BRANDCODE_CONFIG_FETCHER_H_ | 62 #endif // CHROME_BROWSER_PROFILE_RESETTER_BRANDCODE_CONFIG_FETCHER_H_ |
| OLD | NEW |