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

Side by Side Diff: chrome/service/cloud_print/cloud_print_proxy.cc

Issue 2479093002: Migrate more files to histogram_macros.h from histogram.h. (Closed)
Patch Set: Created 4 years, 1 month 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 (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/service/cloud_print/cloud_print_proxy.h" 5 #include "chrome/service/cloud_print/cloud_print_proxy.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/metrics/histogram.h" 11 #include "base/metrics/histogram_macros.h"
12 #include "base/path_service.h" 12 #include "base/path_service.h"
13 #include "base/process/kill.h" 13 #include "base/process/kill.h"
14 #include "base/process/launch.h" 14 #include "base/process/launch.h"
15 #include "base/values.h" 15 #include "base/values.h"
16 #include "chrome/common/chrome_switches.h" 16 #include "chrome/common/chrome_switches.h"
17 #include "chrome/common/cloud_print/cloud_print_constants.h" 17 #include "chrome/common/cloud_print/cloud_print_constants.h"
18 #include "chrome/common/cloud_print/cloud_print_proxy_info.h" 18 #include "chrome/common/cloud_print/cloud_print_proxy_info.h"
19 #include "chrome/common/pref_names.h" 19 #include "chrome/common/pref_names.h"
20 #include "chrome/service/cloud_print/print_system.h" 20 #include "chrome/service/cloud_print/print_system.h"
21 #include "chrome/service/service_process.h" 21 #include "chrome/service/service_process.h"
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 } 245 }
246 246
247 void CloudPrintProxy::ShutdownBackend() { 247 void CloudPrintProxy::ShutdownBackend() {
248 DCHECK(CalledOnValidThread()); 248 DCHECK(CalledOnValidThread());
249 if (backend_.get()) 249 if (backend_.get())
250 backend_->Shutdown(); 250 backend_->Shutdown();
251 backend_.reset(); 251 backend_.reset();
252 } 252 }
253 253
254 } // namespace cloud_print 254 } // namespace cloud_print
OLDNEW
« no previous file with comments | « chrome/service/cloud_print/cloud_print_auth.cc ('k') | chrome/service/cloud_print/cloud_print_proxy_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698