Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(580)

Side by Side Diff: chrome/browser/extensions/updater/chrome_update_client_config.cc

Issue 1861383004: Add module for counting date-last-roll-call and persisting those counts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix up BUILD.gn. Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "base/command_line.h" 5 #include "base/command_line.h"
6 #include "base/path_service.h"
6 #include "base/version.h" 7 #include "base/version.h"
7 #include "chrome/browser/component_updater/component_patcher_operation_out_of_pr ocess.h" 8 #include "chrome/browser/component_updater/component_patcher_operation_out_of_pr ocess.h"
8 #include "chrome/browser/extensions/updater/chrome_update_client_config.h" 9 #include "chrome/browser/extensions/updater/chrome_update_client_config.h"
9 #include "chrome/browser/google/google_brand.h" 10 #include "chrome/browser/google/google_brand.h"
10 #include "chrome/browser/update_client/chrome_update_query_params_delegate.h" 11 #include "chrome/browser/update_client/chrome_update_query_params_delegate.h"
11 #include "chrome/common/channel_info.h" 12 #include "chrome/common/channel_info.h"
13 #include "chrome/common/chrome_paths.h"
14 #include "components/prefs/pref_service.h"
asargent_no_longer_on_chrome 2016/04/07 23:07:25 do you still need these added includes?
waffles 2016/04/07 23:22:24 Done.
12 #include "content/public/browser/browser_context.h" 15 #include "content/public/browser/browser_context.h"
13 16
14 namespace extensions { 17 namespace extensions {
15 18
16 // For privacy reasons, requires encryption of the component updater 19 // For privacy reasons, requires encryption of the component updater
17 // communication with the update backend. 20 // communication with the update backend.
18 ChromeUpdateClientConfig::ChromeUpdateClientConfig( 21 ChromeUpdateClientConfig::ChromeUpdateClientConfig(
19 content::BrowserContext* context) 22 content::BrowserContext* context)
20 : impl_(base::CommandLine::ForCurrentProcess(), 23 : impl_(base::CommandLine::ForCurrentProcess(),
21 context->GetRequestContext(), 24 context->GetRequestContext(),
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 } 96 }
94 97
95 bool ChromeUpdateClientConfig::UseBackgroundDownloader() const { 98 bool ChromeUpdateClientConfig::UseBackgroundDownloader() const {
96 return impl_.UseBackgroundDownloader(); 99 return impl_.UseBackgroundDownloader();
97 } 100 }
98 101
99 bool ChromeUpdateClientConfig::UseCupSigning() const { 102 bool ChromeUpdateClientConfig::UseCupSigning() const {
100 return impl_.UseCupSigning(); 103 return impl_.UseCupSigning();
101 } 104 }
102 105
106 PrefService* ChromeUpdateClientConfig::GetPrefService() const {
107 return NULL;
108 }
109
103 ChromeUpdateClientConfig::~ChromeUpdateClientConfig() {} 110 ChromeUpdateClientConfig::~ChromeUpdateClientConfig() {}
104 111
105 } // namespace extensions 112 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698