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

Unified Diff: native_client_sdk/src/doc/devguide/tutorial/tutorial-part2.rst

Issue 254033002: [NaCl SDK Docs] Remove links to developers.google.com (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 8 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
Index: native_client_sdk/src/doc/devguide/tutorial/tutorial-part2.rst
diff --git a/native_client_sdk/src/doc/devguide/tutorial/tutorial-part2.rst b/native_client_sdk/src/doc/devguide/tutorial/tutorial-part2.rst
index 36efa4fda9a05468277f8436ef97830ce124eee9..3f8de272cfdcc838429e8de95dec84a20ae0f6f2 100644
--- a/native_client_sdk/src/doc/devguide/tutorial/tutorial-part2.rst
+++ b/native_client_sdk/src/doc/devguide/tutorial/tutorial-part2.rst
@@ -14,11 +14,10 @@ Overview
This tutorial shows how to convert the finished PNaCl web application from
:doc:`Part 1 <tutorial-part1>` to use the Native Client SDK build system and
-common JavaScript files. It also demonstrates some techniques to make your
-web application `Content Security Policy (CSP)-compliant
-<http://developer.chrome.com/apps/contentSecurityPolicy.html>`, which is
-necessary for `Chrome Apps
-<https://developer.chrome.com/apps/about_apps.html>`_.
+common JavaScript files. It also demonstrates some techniques to make your web
+application `Content Security Policy (CSP)-compliant
+</apps/contentSecurityPolicy>`_, which is necessary for `Chrome Apps
+</apps/about_apps>`_.
Using the Native Client SDK build system makes it easy to build with all of the
SDK toolchains, and switch between the Debug and Release configurations. It
@@ -151,8 +150,8 @@ LIBS
search path is already set up to only look in the directory for the current
toolchain and architecture. In this example, we link against ``ppapi_cpp``
and ``ppapi``. ``ppapi_cpp`` is needed to use the `Pepper C++ interface
- <https://developers.google.com/native-client/peppercpp/>`_. ``ppapi`` is
- needed for communicating with the browser.
+ </native-client/pepper_stable/cpp/>`_. ``ppapi`` is needed for communicating
+ with the browser.
CFLAGS
A list of extra flags to pass to the compiler. In this example, we pass
@@ -231,17 +230,16 @@ each executable generated in the previous step:
Making index.html work for Chrome Apps
======================================
-This section describes the changes necessary to make the HTML and JavaScript
-in part1 CSP-compliant. This is required if you want to build a `Chrome App
-<https://developer.chrome.com/apps/about_apps.html>`_, but is not necessary
-if you want to use PNaCl on the open web.
+This section describes the changes necessary to make the HTML and JavaScript in
+part1 CSP-compliant. This is required if you want to build a `Chrome App
+</apps/about_apps>`_, but is not necessary if you want to use PNaCl on the open
+web.
CSP rules
---------
-`Chrome Apps CSP
-<http://developer.chrome.com/apps/contentSecurityPolicy.html#what>`_
-restricts you from doing the following:
+`Chrome Apps CSP </apps/contentSecurityPolicy#what>`_ restricts you from doing
+the following:
* You can’t use inline scripting in your Chrome App pages. The restriction
bans both ``<script>`` blocks and event handlers (``<button onclick="...">``).
« no previous file with comments | « native_client_sdk/src/doc/devguide/tutorial/tutorial-part1.rst ('k') | native_client_sdk/src/doc/glossary.rst » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698