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

Unified Diff: chrome/browser/service/service_process_control_mac.mm

Issue 57383010: Rename service subdir under chrome/browser to service_process (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/service/service_process_control_mac.mm
diff --git a/chrome/browser/service/service_process_control_mac.mm b/chrome/browser/service/service_process_control_mac.mm
deleted file mode 100644
index 96c0e8b211f45e3c1c3281a3395f94ca14d5b6f2..0000000000000000000000000000000000000000
--- a/chrome/browser/service/service_process_control_mac.mm
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/browser/service/service_process_control.h"
-
-#include "base/bind.h"
-#include "base/command_line.h"
-#include "base/mac/scoped_cftyperef.h"
-#include "chrome/common/service_process_util_posix.h"
-#include "content/public/browser/browser_thread.h"
-#include "third_party/GTM/Foundation/GTMServiceManagement.h"
-
-using content::BrowserThread;
-
-void ServiceProcessControl::Launcher::DoRun() {
- base::ScopedCFTypeRef<CFDictionaryRef> launchd_plist(
- CreateServiceProcessLaunchdPlist(cmd_line_.get(), false));
- CFErrorRef error = NULL;
- if (!GTMSMJobSubmit(launchd_plist, &error)) {
- LOG(ERROR) << error;
- CFRelease(error);
- } else {
- launched_ = true;
- }
- BrowserThread::PostTask(BrowserThread::UI, FROM_HERE,
- base::Bind(&Launcher::Notify, this));
-}
« no previous file with comments | « chrome/browser/service/service_process_control_browsertest.cc ('k') | chrome/browser/service_process/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698