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

Unified Diff: content/child/child_process_sandbox_support_impl_linux.h

Issue 2679323006: Remove content/browser dependency on WebFontRenderStyle. (Closed)
Patch Set: merge Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/child/BUILD.gn ('k') | content/child/child_process_sandbox_support_impl_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/child_process_sandbox_support_impl_linux.h
diff --git a/content/common/child_process_sandbox_support_impl_linux.h b/content/child/child_process_sandbox_support_impl_linux.h
similarity index 70%
rename from content/common/child_process_sandbox_support_impl_linux.h
rename to content/child/child_process_sandbox_support_impl_linux.h
index e2e973d9771580a9178a4c4e5f61d98cd321623a..c4bf1b696c131d09189a57a19f921842994c1815 100644
--- a/content/common/child_process_sandbox_support_impl_linux.h
+++ b/content/child/child_process_sandbox_support_impl_linux.h
@@ -1,15 +1,13 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Copyright 2017 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.
-#ifndef CONTENT_COMMON_CHILD_PROCESS_SANDBOX_SUPPORT_IMPL_LINUX_H_
-#define CONTENT_COMMON_CHILD_PROCESS_SANDBOX_SUPPORT_IMPL_LINUX_H_
+#ifndef CONTENT_CHILD_CHILD_PROCESS_SANDBOX_SUPPORT_IMPL_LINUX_H_
+#define CONTENT_CHILD_CHILD_PROCESS_SANDBOX_SUPPORT_IMPL_LINUX_H_
#include <stdint.h>
-#include "base/posix/global_descriptors.h"
-#include "content/public/common/child_process_sandbox_support_linux.h"
-#include "content/public/common/content_descriptors.h"
+#include "content/public/child/child_process_sandbox_support_linux.h"
namespace blink {
struct WebFallbackFont;
@@ -37,10 +35,6 @@ void GetRenderStyleForStrike(const char* family,
int size_and_style,
blink::WebFontRenderStyle* out);
-inline int GetSandboxFD() {
- return kSandboxIPCChannel + base::GlobalDescriptors::kBaseDescriptor;
-}
-
}; // namespace content
-#endif // CONTENT_COMMON_CHILD_PROCESS_SANDBOX_SUPPORT_IMPL_LINUX_H_
+#endif // CONTENT_CHILD_CHILD_PROCESS_SANDBOX_SUPPORT_IMPL_LINUX_H_
« no previous file with comments | « content/child/BUILD.gn ('k') | content/child/child_process_sandbox_support_impl_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698