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

Side by Side Diff: chrome/service/service_process.cc

Issue 628083002: Replacing the OVERRIDE with override and FINAL with final in chrome/service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « chrome/service/service_process.h ('k') | chrome/service/service_process_prefs_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/service_process.h" 5 #include "chrome/service/service_process.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 const int64 kPolicyCheckDelayHours = 8; 52 const int64 kPolicyCheckDelayHours = 8;
53 53
54 const char kDefaultServiceProcessLocale[] = "en-US"; 54 const char kDefaultServiceProcessLocale[] = "en-US";
55 55
56 class ServiceIOThread : public base::Thread { 56 class ServiceIOThread : public base::Thread {
57 public: 57 public:
58 explicit ServiceIOThread(const char* name); 58 explicit ServiceIOThread(const char* name);
59 virtual ~ServiceIOThread(); 59 virtual ~ServiceIOThread();
60 60
61 protected: 61 protected:
62 virtual void CleanUp() OVERRIDE; 62 virtual void CleanUp() override;
63 63
64 private: 64 private:
65 DISALLOW_COPY_AND_ASSIGN(ServiceIOThread); 65 DISALLOW_COPY_AND_ASSIGN(ServiceIOThread);
66 }; 66 };
67 67
68 ServiceIOThread::ServiceIOThread(const char* name) : base::Thread(name) {} 68 ServiceIOThread::ServiceIOThread(const char* name) : base::Thread(name) {}
69 ServiceIOThread::~ServiceIOThread() { 69 ServiceIOThread::~ServiceIOThread() {
70 Stop(); 70 Stop();
71 } 71 }
72 72
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 if (enabled_services_ && !ipc_server_->is_client_connected()) { 364 if (enabled_services_ && !ipc_server_->is_client_connected()) {
365 GetCloudPrintProxy()->CheckCloudPrintProxyPolicy(); 365 GetCloudPrintProxy()->CheckCloudPrintProxyPolicy();
366 } 366 }
367 ScheduleCloudPrintPolicyCheck(); 367 ScheduleCloudPrintPolicyCheck();
368 } 368 }
369 369
370 ServiceProcess::~ServiceProcess() { 370 ServiceProcess::~ServiceProcess() {
371 Teardown(); 371 Teardown();
372 g_service_process = NULL; 372 g_service_process = NULL;
373 } 373 }
OLDNEW
« no previous file with comments | « chrome/service/service_process.h ('k') | chrome/service/service_process_prefs_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698