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

Side by Side Diff: chrome/service/service_utility_process_host.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_utility_process_host.h ('k') | no next file » | 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_utility_process_host.h" 5 #include "chrome/service/service_utility_process_host.h"
6 6
7 #include <queue> 7 #include <queue>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 SERVICE_UTILITY_EVENT_MAX); 55 SERVICE_UTILITY_EVENT_MAX);
56 } 56 }
57 57
58 // NOTE: changes to this class need to be reviewed by the security team. 58 // NOTE: changes to this class need to be reviewed by the security team.
59 class ServiceSandboxedProcessLauncherDelegate 59 class ServiceSandboxedProcessLauncherDelegate
60 : public content::SandboxedProcessLauncherDelegate { 60 : public content::SandboxedProcessLauncherDelegate {
61 public: 61 public:
62 ServiceSandboxedProcessLauncherDelegate() {} 62 ServiceSandboxedProcessLauncherDelegate() {}
63 63
64 virtual void PreSpawnTarget(sandbox::TargetPolicy* policy, 64 virtual void PreSpawnTarget(sandbox::TargetPolicy* policy,
65 bool* success) OVERRIDE { 65 bool* success) override {
66 // Service process may run as windows service and it fails to create a 66 // Service process may run as windows service and it fails to create a
67 // window station. 67 // window station.
68 policy->SetAlternateDesktop(false); 68 policy->SetAlternateDesktop(false);
69 } 69 }
70 70
71 private: 71 private:
72 DISALLOW_COPY_AND_ASSIGN(ServiceSandboxedProcessLauncherDelegate); 72 DISALLOW_COPY_AND_ASSIGN(ServiceSandboxedProcessLauncherDelegate);
73 }; 73 };
74 74
75 } // namespace 75 } // namespace
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 return false; 422 return false;
423 } 423 }
424 printing::Emf emf; 424 printing::Emf emf;
425 if (!emf.InitFromData(data.data(), data.size())) { 425 if (!emf.InitFromData(data.data(), data.size())) {
426 OnRenderPDFPagesToMetafileDone(false); 426 OnRenderPDFPagesToMetafileDone(false);
427 return false; 427 return false;
428 } 428 }
429 OnRenderPDFPagesToMetafilePageDone(scale_factor, emf); 429 OnRenderPDFPagesToMetafilePageDone(scale_factor, emf);
430 return true; 430 return true;
431 } 431 }
OLDNEW
« no previous file with comments | « chrome/service/service_utility_process_host.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698