drop "All rights reserved" from examples
OSS licensing has asked us to remove this from new file headers. Change-Id: I89121dd167aa88617ce2090f8684148bbbac90ed Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3792556 Commit-Queue: Mike Frysinger <vapier@chromium.org> Reviewed-by: Jan Wilken Dörrie <jdoerrie@chromium.org> Reviewed-by: Bruce Dawson <brucedawson@chromium.org> Cr-Commit-Position: refs/heads/main@{#1031130}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
c2e2af4763
commit
e69fa05666
@ -16,7 +16,7 @@ This outputs Java String constants which represent the name of the
|
||||
2020" to be whatever the year is at the time of writing (as you would for any
|
||||
other file).
|
||||
```java
|
||||
// Copyright 2020 The Chromium Authors. All rights reserved.
|
||||
// Copyright 2020 The Chromium Authors.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
@ -82,7 +82,7 @@ This outputs Java String constants which represent the name of the
|
||||
would contain:
|
||||
|
||||
```java
|
||||
// Copyright $YEAR The Chromium Authors. All rights reserved.
|
||||
// Copyright $YEAR The Chromium Authors.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
|
@ -14,7 +14,7 @@ template file. The template file must be specified in the GN target.
|
||||
2020" to be whatever the year is at the time of writing (as you would for any
|
||||
other file).
|
||||
```java
|
||||
// Copyright 2020 The Chromium Authors. All rights reserved.
|
||||
// Copyright 2020 The Chromium Authors.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
@ -65,7 +65,7 @@ template file. The template file must be specified in the GN target.
|
||||
would contain:
|
||||
|
||||
```java
|
||||
// Copyright $YEAR The Chromium Authors. All rights reserved.
|
||||
// Copyright $YEAR The Chromium Authors.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
|
@ -194,7 +194,7 @@ may be like the following.
|
||||
|
||||
```
|
||||
#!/bin/bash
|
||||
# Copyright 2021 The Chromium Authors. All rights reserved.
|
||||
# Copyright 2021 The Chromium Authors.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
@ -222,7 +222,7 @@ example can be like the following:
|
||||
|
||||
```
|
||||
#!/usr/bin/env python
|
||||
# Copyright 2021 The Chromium Authors. All rights reserved.
|
||||
# Copyright 2021 The Chromium Authors.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
|
@ -89,7 +89,7 @@ To do this, we can create:
|
||||
With these contents:
|
||||
|
||||
```
|
||||
# Copyright 2018 The Chromium Authors. All rights reserved.
|
||||
# Copyright 2018 The Chromium Authors.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
|
@ -138,7 +138,7 @@ class SimpleMenuItemViewBinder {
|
||||
### simple_menu_item.xml
|
||||
```xml
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright 2019 The Chromium Authors. All rights reserved.
|
||||
<!-- Copyright 2019 The Chromium Authors.
|
||||
Use of this source code is governed by a BSD-style license that can be
|
||||
found in the LICENSE file. -->
|
||||
<LinearLayout
|
||||
|
@ -19,7 +19,7 @@ To create this simple dialog, you would need to add the following files:
|
||||
`login_bubble_dialog_example.h`
|
||||
|
||||
``` cpp
|
||||
// Copyright 2020 The Chromium Authors. All rights reserved.
|
||||
// Copyright 2020 The Chromium Authors.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
@ -48,7 +48,7 @@ class LoginBubbleDialogView : public views::BubbleDialogDelegateView {
|
||||
`login_bubble_dialog_example.cc`
|
||||
|
||||
``` cpp
|
||||
// Copyright 2020 The Chromium Authors. All rights reserved.
|
||||
// Copyright 2020 The Chromium Authors.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
@ -379,7 +379,7 @@ The final code should resemble the following:
|
||||
|
||||
|
||||
```
|
||||
// Copyright 2020 The Chromium Authors. All rights reserved.
|
||||
// Copyright 2020 The Chromium Authors.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
@ -430,7 +430,7 @@ class LoginBubbleDialogView : public BubbleDialogDelegateView,
|
||||
|
||||
|
||||
```
|
||||
// Copyright 2020 The Chromium Authors. All rights reserved.
|
||||
// Copyright 2020 The Chromium Authors.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
|
@ -265,7 +265,7 @@ All files in Chromium start with a common license header. That header should
|
||||
look like this:
|
||||
|
||||
```c++
|
||||
// Copyright $YEAR The Chromium Authors. All rights reserved.
|
||||
// Copyright $YEAR The Chromium Authors.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
```
|
||||
|
@ -36,7 +36,7 @@ The screenscast below showcases how:
|
||||
|
||||
```UltiSnips
|
||||
snippet copyright
|
||||
// Copyright `date +%Y` The Chromium Authors. All rights reserved.
|
||||
// Copyright `date +%Y` The Chromium Authors.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
|
Reference in New Issue
Block a user