0
Commit Graph

34 Commits

Author SHA1 Message Date
c1a28f258b Fix link to Linux sandbox documentation in docs/design/sandbox.md
The linked file was rewritten/moved in commit
fb88bfb27a.

Change-Id: Id3f73815102fa17e41bf3bfc56ad94969323377b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5828699
Reviewed-by: Elly FJ <ellyjones@chromium.org>
Commit-Queue: Matthew Denton <mpdenton@chromium.org>
Reviewed-by: Matthew Denton <mpdenton@chromium.org>
Auto-Submit: Ryan Landay <rlanday@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1352879}
2024-09-09 19:11:35 +00:00
c7e6edfed8 Add sandbox documentation for ACG
This documentation did not exist for some reason, so this CL
adds the description, along with the feature flag to enable it
manually.

BUG=341991447

Change-Id: I3ae397e85bb156cd12f1c4cfefe44441fa1cae84
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5560826
Commit-Queue: Will Harris <wfh@chromium.org>
Reviewed-by: Alex Gough <ajgo@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1304759}
2024-05-22 23:19:48 +00:00
9249617692 Format sandbox docs
No changes to the text, just formatting. go/cider-v-lsp was used
to format.

BUG=None

Change-Id: I2182b7ebc89f9db43a81a8dac36307880807ec57
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5559466
Commit-Queue: Will Harris <wfh@chromium.org>
Reviewed-by: Alex Gough <ajgo@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1304705}
2024-05-22 21:54:13 +00:00
f75905058e [buganizer] Migrate remaining DIR_METADATA in chromium/src
Migrate all remaining DIR_METADATA in chromium/src.

Verify components with http://b/components/{id} or at
go/chrome-on-buganizer-prod-components.

Bug: chromium:1518875
Change-Id: I025c51f2bbe35f95fbb62f0d308f1ff1d0b438c8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5288611
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Reviewed-by: Avi Drissman <avi@chromium.org>
Reviewed-by: Arthur Eubanks <aeubanks@google.com>
Commit-Queue: Jeff Yoon <jeffyoon@google.com>
Cr-Commit-Position: refs/heads/main@{#1259938}
2024-02-13 18:38:14 +00:00
2070e81c4f Add the iOS ForceField design doc
This design does not reflect any actual production system, but it is a
design proposal.

Change-Id: I89605e4b2b947db6d8fff74c5f7fc6253e030d4d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5228281
Commit-Queue: Robert Sesek <rsesek@chromium.org>
Reviewed-by: Rick Byers <rbyers@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1250981}
2024-01-23 19:32:32 +00:00
d5521a1a06 [GPU] Eliminate references to GLImage in the codebase
Doesn't catch all of them - this was just a quick pass, but will catch
more in followup.

Bug: 1310018
Change-Id: If892e93e7f23ce8f9fe8d2586e7c83bd612aa411
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4701366
Commit-Queue: Colin Blundell <blundell@chromium.org>
Reviewed-by: Vasiliy Telezhnikov <vasilyt@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1172814}
2023-07-20 07:40:43 +00:00
665e875dbf Tidy win7/8 comments in sandbox
Bug: 1385495
Change-Id: Ic751fc48dd9f8ca073f0c551b45fea919817e5e9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4193257
Commit-Queue: Alex Gough <ajgo@chromium.org>
Reviewed-by: James Forshaw <forshaw@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1096551}
2023-01-25 01:29:37 +00:00
51c1e86daa Fix missing args in gpu_synchronization doc
The sample code snippets in gpu_synchronization.md were missing the required `sync_token` argument, this adds them for clarity.

Change-Id: Ib2cf842004e348deafa09bf6708f3a9428a1f1b3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3550610
Auto-Submit: Klaus Weidner <klausw@chromium.org>
Reviewed-by: Brandon Jones <bajones@chromium.org>
Commit-Queue: Brandon Jones <bajones@chromium.org>
Cr-Commit-Position: refs/heads/main@{#985026}
2022-03-24 21:53:16 +00:00
7dba881892 Add AC/LPAC documentation for Windows sandbox.
BUG=841001

Change-Id: I3ce92f4eedfd499726c1475ac2809e9295971744
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3319418
Reviewed-by: James Forshaw <forshaw@chromium.org>
Commit-Queue: Will Harris <wfh@chromium.org>
Cr-Commit-Position: refs/heads/main@{#949005}
2021-12-07 16:13:07 +00:00
317532d47d Run a spellchecker on src/docs/
I'd also like to use this CL as a test for
crbug.com/1257744

Change-Id: Ie958c515680a2a130c257c23f826d5a30a3963ac
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3229977
Commit-Queue: Quinten Yearsley <qyearsley@chromium.org>
Reviewed-by: Andrii Shyshkalov <tandrii@google.com>
Cr-Commit-Position: refs/heads/main@{#933514}
2021-10-20 17:10:31 +00:00
046f987e02 [COIL] Change chromium code search type links to use main rather than master for docs
See this doc: go/chromium-coil-change for more info
    BUG=1210385

Change-Id: I6cd8548301e360bae8e71384dbd8ef11aa6c985f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2902904
Reviewed-by: My Nguyen <myy@chromium.org>
Commit-Queue: My Nguyen <myy@chromium.org>
Auto-Submit: John Palmer <jopalmer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#885851}
2021-05-24 01:24:56 +00:00
ea32df5c92 Set enable_cet_shadow_stack for Windows x64
This enables the CETCOMPAT linker flag for Windows marking binaries
as CET compatible. On supporting hardware this will cause Chrome to
run with Hardware Enforced Stack Protection for compatible modules.

CET will still be disabled for the renderer process as the feature
CetForRenderer is default-disabled.

x86 is not supported: build/config/compiler/BUILD.gn:2519

Tests: mini_installer on supporting hardware
Bug: 1131225
Change-Id: Ic5db6eca0acf4cdfb0eff0f624e4d4f4e5a7da50
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2602845
Reviewed-by: Dirk Pranke <dpranke@google.com>
Reviewed-by: Will Harris <wfh@chromium.org>
Commit-Queue: Alex Gough <ajgo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#845041}
2021-01-20 06:06:39 +00:00
5987fd43a7 Add option to enable CET Shadow Stack
This experimental build option to mark binaries as compatible with Shadow
Stack of Control-flow Enforcement Technology (CET).
THe option is not any close to enable in official builds, it's here
for convenice of evaluation.

As it passes base_unittests and components_unittests.

Bug: 1136224
Change-Id: I6fcd61c2e76066b444cc37c88228273838300243
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2454988
Reviewed-by: Nico Weber <thakis@chromium.org>
Reviewed-by: Alex Gough <ajgo@chromium.org>
Commit-Queue: Vitaly Buka <vitalybuka@chromium.org>
Cr-Commit-Position: refs/heads/master@{#819145}
2020-10-20 22:58:05 +00:00
afa2f4f7a9 Add DIR_METADATA files to //docs
Add Generate DIR_METADATA files and remove metadata from OWNERS
files for //docs.

Bug: 1113033
Change-Id: Ibd798892dcc522ce2363f85e53860259194eaa7c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2454498
Commit-Queue: Dirk Pranke <dpranke@google.com>
Reviewed-by: Dirk Pranke <dpranke@google.com>
Auto-Submit: Edward Lesmes <ehmaldonado@chromium.org>
Cr-Commit-Position: refs/heads/master@{#815366}
2020-10-08 22:56:59 +00:00
9e88d86650 Adds diagnostic section to sandbox docs.
Bug: 1085213
Change-Id: Ic597db07aba2790bfa176a88e6e14ac8b5895562
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2231441
Auto-Submit: Alex Gough <ajgo@chromium.org>
Reviewed-by: Will Harris <wfh@chromium.org>
Commit-Queue: Will Harris <wfh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#775665}
2020-06-05 18:20:39 +00:00
93e49e49ba Update relative links to Linux docs
This is a followup to [1].

[1] https://chromium-review.googlesource.com/c/chromium/src/+/1974901

TBR=sky

Change-Id: I442ffe121378607bdc5e1b16c081b8d66b138955
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1980900
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Cr-Commit-Position: refs/heads/master@{#727226}
2019-12-23 19:55:37 +00:00
0dbe1dc706 Update CIG documentation on sandbox.
Bug: 750886
Change-Id: I45015006a8664045d8a1ea87599b5e4c252dff84
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1767086
Reviewed-by: James Forshaw <forshaw@chromium.org>
Commit-Queue: Will Harris <wfh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#689785}
2019-08-23 02:25:48 +00:00
31267c4dc8 OWNERS files updated with latest COMPONENT and TEAMS.
This is CL is generated by a script. Data is pulled from
review conducted in Q2 2019. See https://tinyurl.com/yxau5sc4
for context.

Please review and LGTM before July 16th or the CL will be
submitted as-is.

NOTRY=true

Bug: 977050
Change-Id: I1770239e09a71381d80f3893ce27096b81513056
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1700822
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Dirk Pranke <dpranke@chromium.org>
Auto-Submit: Eric Foo <efoo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#677831}
2019-07-16 17:02:33 +00:00
fec822f2e5 Minor tidying of sandbox.md for Windows
- Regularised capitalisation of Windows.
 - Removed some hemming and hawing about out of support Windows versions.
 - Tidied a couple of broken links and references.

Change-Id: I2e84b9ee6ec83ad77a31f4998273989c9dd1852b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1649299
Reviewed-by: Will Harris <wfh@chromium.org>
Commit-Queue: Alex Gough <ajgo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#669858}
2019-06-17 22:06:29 +00:00
703b824e51 viz: moves mojoms/code from services/ws to services/viz
These really should have always been in viz.

BUG=958240
TEST=none

Change-Id: I523fdcb13761b39f61091503ad3a56cfc9c9874f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1647083
Commit-Queue: Scott Violet <sky@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Reviewed-by: kylechar <kylechar@chromium.org>
Cr-Commit-Position: refs/heads/master@{#668095}
2019-06-11 19:34:36 +00:00
7e33efce8b window_service: converts all code to be in ws namespace
This is the last step after moving all the code.
Sorry for the ginormous review. It would have been tedious to split
up.

BUG=876924
TEST=covered by tests
TBR=tsepez@chromium.org

Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel
Change-Id: I237c4377115ad12fefb95a1bcf2eabe1cbef3414
Reviewed-on: https://chromium-review.googlesource.com/1195809
Reviewed-by: Scott Violet <sky@chromium.org>
Reviewed-by: Xiyuan Xia <xiyuan@chromium.org>
Commit-Queue: Scott Violet <sky@chromium.org>
Cr-Commit-Position: refs/heads/master@{#587338}
2018-08-29 22:30:15 +00:00
9f984257df window-services: moves services/ui into services/ws
Here's the list of changes:
git mv services/ui/common services/ws
(update build files, rename services/ui/common:mus_common to common)
git mv services/ui/public/cpp services/ws/public
git mv services/ui/gpu_host services/ws
git mv services/ui/ime services/ws
git mv services/ui/test_ws services/ws
git mv services/ui/input_devices services/ws/
git mv services/ui/ws2/* services/ws

BUG=876924
TEST=covered by tests
TBR=jamescook@chromium.org

Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_chromium_dbg_ng;luci.chromium.try:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel
Change-Id: Ia93dc557a45dc75bcf8a2b3bf80f2e393d4362ed
Reviewed-on: https://chromium-review.googlesource.com/1188961
Commit-Queue: Scott Violet <sky@chromium.org>
Reviewed-by: James Cook <jamescook@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Cr-Commit-Position: refs/heads/master@{#586354}
2018-08-27 19:02:13 +00:00
f11c1775df gpu_synchronization.md: fix formatting of quoted code
The nested code section was not rendering correctly on the live
Markdown server, and didn't match the tools/md_browser preview.
Simplify the layout to avoid inconsistencies.

Bug: 801929
Change-Id: Id8f84f24407d39dd2d125d8f349d214fccbe254a
Reviewed-on: https://chromium-review.googlesource.com/892478
Reviewed-by: David Dorwin <ddorwin@chromium.org>
Commit-Queue: Klaus Weidner <klausw@chromium.org>
Cr-Commit-Position: refs/heads/master@{#533106}
2018-01-31 00:17:19 +00:00
c5b1b95841 [docs] Correct the url in gpu sync docs
Also file a bug about the markdown display incorrectly:
https://bugs.chromium.org/p/chromium/issues/detail?id=801929

BUG=None

Change-Id: I0213c4263dec0caf9e3aa3ed1d88b372fd4c1824
Reviewed-on: https://chromium-review.googlesource.com/865966
Reviewed-by: Klaus Weidner <klausw@chromium.org>
Commit-Queue: Xing Xu <xing.xu@intel.com>
Cr-Commit-Position: refs/heads/master@{#529201}
2018-01-15 04:52:05 +00:00
c94b8de937 gpu: Simplify CHROMIUM_sync_point API.
Simplify GenSyncTokenCHROMIUM and GenUnverifiedSyncTokenCHROMIUM to
implicitly insert the fence and issue ordering barrier or flush. Change
all call sites and update the documentation to reflect this.

R=piman
BUG=NONE

Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Change-Id: I8551f8d0ccf3b7f6027f3e54443ae06cfa0d074b
Reviewed-on: https://chromium-review.googlesource.com/826007
Commit-Queue: Sunny Sachanandani <sunnyps@chromium.org>
Reviewed-by: Kenneth Russell <kbr@chromium.org>
Reviewed-by: David Reveman <reveman@chromium.org>
Reviewed-by: Dale Curtis <dalecurtis@chromium.org>
Reviewed-by: Antoine Labour <piman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#524576}
2017-12-16 03:30:30 +00:00
e66cc7d91e GpuFence implementation
Implement a command buffer interface for native file descriptor backed
cross-context GpuFence objects. See CHROMIUM_gpu_fence.txt for the GLES
API description and docs/design/gpu_synchronization.md for background
information including usage examples.

gl::GLFenceAndroidNativeSyncPoint - low-level wrapper for underlying GL
calls.

gfx::GpuFenceHandle - IPC-transportable wrapper for the sync file
descriptor.

gfx::GpuFence aka ClientGpuFence - owning container for a GpuFenceHandle,
and convertible to/from a ClientGpuFence for use with GL calls.

gpu::gles2::GpuFenceManager tracks GpuFenceEntry objects by client-assigned
ID number. Each entry stores a gl::GLFence as currently implemented
by the gl::GLFenceAndroidNativeSyncPoint subclass.

BUG=761432

Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Change-Id: Ibae5c377528db9a9382b64a2648ac56a5a0f53f6
Reviewed-on: https://chromium-review.googlesource.com/680135
Commit-Queue: Klaus Weidner <klausw@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: David Reveman <reveman@chromium.org>
Reviewed-by: Antoine Labour <piman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#523001}
2017-12-09 17:26:30 +00:00
e9748f27c3 Uncontroversial and easy to carve out bits of deprecated BrowserThreads cleanup.
Overall reland is at https://chromium-review.googlesource.com/c/chromium/src/+/705775,
these are the easy bits that can land first (and wrap up contributions to issues
365909 and 752144 as well as to the ios/ side of 689520).

NOPRESUBMIT=TRUE (for BrowserThread presubmit triggered by touching related code)
TBR=jam@chromium.org, jsbell@chromium.org, sdefresne@chromium.org, asvitkine@chromium.org

Bug: 689520, 365909, 752144
Change-Id: I9b2b5326a12de5f7ffa22f8ac3332c8e57a6e14f
Reviewed-on: https://chromium-review.googlesource.com/738469
Commit-Queue: Gabriel Charette <gab@chromium.org>
Reviewed-by: Sylvain Defresne <sdefresne@chromium.org>
Reviewed-by: Gabriel Charette <gab@chromium.org>
Cr-Commit-Position: refs/heads/master@{#511551}
2017-10-25 19:31:15 +00:00
da69d8843d base: Change make_scoped_refptr to WrapRefCounted.
The helper function make_scoped_refptr() doesn't match the base/std
naming convention for make to construct the object. Now there is
MakeRefCounted() to make a new scoped_refptr and WrapRefCounted() to
wrap something in scoped_refptr, similar to MakeUnique() and
WrapUnique(). This is a purely mechanical regex search and replace.

Bug: 765333
Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Change-Id: I5057e51282e519693f6fca504bd54deb638b712f
Reviewed-on: https://chromium-review.googlesource.com/667726
Commit-Queue: kylechar <kylechar@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Reviewed-by: danakj <danakj@chromium.org>
Cr-Commit-Position: refs/heads/master@{#506316}
2017-10-04 05:49:52 +00:00
82a076e04a Revert "Remove all remaining deprecated Web/BrowserThreads!!"
This reverts commit 6127a86f3a.

Reason for revert: Suspect this caused spike in ThreadWatcher hang reports: crbug.com/768886

Original change's description:
> Remove all remaining deprecated Web/BrowserThreads!!
> 
> (except BrowserThread::FILE which has a handful use cases left still and
> will follow suit shortly)
> 
> (BrowserThread::PROCESS_LAUNCHER migration was put on hold because of
> Android specific requirements around process launching)
> 
> Remaining usage of TestBrowserThreadBundle::REAL_DB_THREAD could simply
> be removed as all of the product code was already migrated to TaskScheduler
> which always uses real threads in unit tests.
> 
> Bug: 689520, 365909, 752144
> Cq-Include-Trybots: master.tryserver.chromium.android:android_cronet_tester
> Change-Id: Id70b722aa35e8568795d5aac16947392ac1597be
> 
> NOPRESUBMIT=True (for content/browser/browser_thread_impl.cc:211)
> 
> Change-Id: Id70b722aa35e8568795d5aac16947392ac1597be
> Reviewed-on: https://chromium-review.googlesource.com/610880
> Reviewed-by: Alexei Svitkine <asvitkine@chromium.org>
> Reviewed-by: John Abd-El-Malek <jam@chromium.org>
> Reviewed-by: Dirk Pranke <dpranke@chromium.org>
> Reviewed-by: Sylvain Defresne <sdefresne@chromium.org>
> Commit-Queue: Gabriel Charette <gab@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#503732}

TBR=gab@chromium.org,jam@chromium.org,dpranke@chromium.org,asvitkine@chromium.org,sdefresne@chromium.org

# Not skipping CQ checks because original CL landed > 1 day ago.

NOPRESUBMIT=True (for restoring the deprecated browser threads)

Bug: 689520, 365909, 752144, 768886
Change-Id: I53d93572118303743e1dde71b2a473350717b215
Cq-Include-Trybots: master.tryserver.chromium.android:android_cronet_tester
Reviewed-on: https://chromium-review.googlesource.com/689254
Commit-Queue: Matt Falkenhagen <falken@chromium.org>
Reviewed-by: Matt Falkenhagen <falken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#504939}
2017-09-28 08:08:19 +00:00
6127a86f3a Remove all remaining deprecated Web/BrowserThreads!!
(except BrowserThread::FILE which has a handful use cases left still and
will follow suit shortly)

(BrowserThread::PROCESS_LAUNCHER migration was put on hold because of
Android specific requirements around process launching)

Remaining usage of TestBrowserThreadBundle::REAL_DB_THREAD could simply
be removed as all of the product code was already migrated to TaskScheduler
which always uses real threads in unit tests.

Bug: 689520, 365909, 752144
Cq-Include-Trybots: master.tryserver.chromium.android:android_cronet_tester
Change-Id: Id70b722aa35e8568795d5aac16947392ac1597be

NOPRESUBMIT=True (for content/browser/browser_thread_impl.cc:211)

Change-Id: Id70b722aa35e8568795d5aac16947392ac1597be
Reviewed-on: https://chromium-review.googlesource.com/610880
Reviewed-by: Alexei Svitkine <asvitkine@chromium.org>
Reviewed-by: John Abd-El-Malek <jam@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Reviewed-by: Sylvain Defresne <sdefresne@chromium.org>
Commit-Queue: Gabriel Charette <gab@chromium.org>
Cr-Commit-Position: refs/heads/master@{#503732}
2017-09-22 14:33:59 +00:00
1c99002ae1 Replace tracked_objects::Location with base::Location.
Part 3/4 to replace these namespace qualifications.

TBR=dcheng@chromium.org

Bug: 763556
Change-Id: I052b146dd2ce9f5e3997ab5ae1e362b2422fb03e
Reviewed-on: https://chromium-review.googlesource.com/662140
Reviewed-by: Brett Wilson <brettw@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Commit-Queue: Brett Wilson <brettw@chromium.org>
Cr-Commit-Position: refs/heads/master@{#501376}
2017-09-12 20:11:15 +00:00
09f8883243 Correct threading documentation example.
Calling a callback with a raw pointer argument while binding a scoped_refptr to
it requires using base::RetainedRef. Correct the same in threading
documentation. Also, introduce std::move in the example to demonstrate
preventing an extra AddRef/Release pair.

BUG=None

Review-Url: https://codereview.chromium.org/2944313004
Cr-Commit-Position: refs/heads/master@{#482065}
2017-06-23 23:15:27 +00:00
b4730a0c27 Port sandbox, sandbox faq, and startup design docs to markdown.
This is mostly a straight port; minimal editing was applied to the
converted text to make some styles consistent.

The original locations of these docs were:

https://www.chromium.org/developers/design-documents/sandbox
https://www.chromium.org/developers/design-documents/sandbox/Sandbox-FAQ
https://www.chromium.org/developers/design-documents/startup

BUG=

Review-Url: https://codereview.chromium.org/2827383002
Cr-Commit-Position: refs/heads/master@{#466105}
2017-04-20 20:22:13 +00:00
ad589ceb60 Port threading design doc to in-tree docs, start a README for design docs in the tree.
This is a straight up port of https://www.chromium.org/developers/design-documents/threading, with minimal editing only for style consistency and some grammar errors.

Review-Url: https://codereview.chromium.org/2822353002
Cr-Commit-Position: refs/heads/master@{#466049}
2017-04-20 17:26:07 +00:00