diff --git a/ci/licenses_golden/licenses_flutter b/ci/licenses_golden/licenses_flutter index f16aa21a7810c..d6da05fa2db53 100644 --- a/ci/licenses_golden/licenses_flutter +++ b/ci/licenses_golden/licenses_flutter @@ -42731,7 +42731,6 @@ ORIGIN: ../../../flutter/fml/platform/darwin/platform_version.h + ../../../flutt ORIGIN: ../../../flutter/fml/platform/darwin/platform_version.mm + ../../../flutter/LICENSE ORIGIN: ../../../flutter/fml/platform/darwin/scoped_nsautorelease_pool.cc + ../../../flutter/LICENSE ORIGIN: ../../../flutter/fml/platform/darwin/scoped_nsautorelease_pool.h + ../../../flutter/LICENSE -ORIGIN: ../../../flutter/fml/platform/darwin/scoped_policy.h + ../../../flutter/LICENSE ORIGIN: ../../../flutter/fml/platform/darwin/string_range_sanitization.h + ../../../flutter/LICENSE ORIGIN: ../../../flutter/fml/platform/darwin/string_range_sanitization.mm + ../../../flutter/LICENSE ORIGIN: ../../../flutter/fml/platform/fuchsia/log_interest_listener.cc + ../../../flutter/LICENSE @@ -45597,7 +45596,6 @@ FILE: ../../../flutter/fml/platform/darwin/platform_version.h FILE: ../../../flutter/fml/platform/darwin/platform_version.mm FILE: ../../../flutter/fml/platform/darwin/scoped_nsautorelease_pool.cc FILE: ../../../flutter/fml/platform/darwin/scoped_nsautorelease_pool.h -FILE: ../../../flutter/fml/platform/darwin/scoped_policy.h FILE: ../../../flutter/fml/platform/darwin/string_range_sanitization.h FILE: ../../../flutter/fml/platform/darwin/string_range_sanitization.mm FILE: ../../../flutter/fml/platform/fuchsia/log_interest_listener.cc diff --git a/fml/BUILD.gn b/fml/BUILD.gn index 1c6aedf3ee288..3cd4d7a6abb18 100644 --- a/fml/BUILD.gn +++ b/fml/BUILD.gn @@ -149,7 +149,6 @@ source_set("fml") { "platform/darwin/platform_version.mm", "platform/darwin/scoped_nsautorelease_pool.cc", "platform/darwin/scoped_nsautorelease_pool.h", - "platform/darwin/scoped_policy.h", "platform/darwin/string_range_sanitization.h", "platform/darwin/string_range_sanitization.mm", ] diff --git a/fml/platform/darwin/scoped_policy.h b/fml/platform/darwin/scoped_policy.h deleted file mode 100644 index fb4985871adae..0000000000000 --- a/fml/platform/darwin/scoped_policy.h +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright 2013 The Flutter 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 FLUTTER_FML_PLATFORM_DARWIN_SCOPED_POLICY_H_ -#define FLUTTER_FML_PLATFORM_DARWIN_SCOPED_POLICY_H_ - -namespace fml { -namespace scoped_policy { - -// Defines the ownership policy for a scoped object. -enum OwnershipPolicy { - // The scoped object takes ownership of an object by taking over an existing - // ownership claim. - kAssume, - - // The scoped object will retain the the object and any initial ownership is - // not changed. - kRetain -}; - -} // namespace scoped_policy -} // namespace fml - -#endif // FLUTTER_FML_PLATFORM_DARWIN_SCOPED_POLICY_H_