Fix 64 bit Mac build issue.

NPEventModelCarbon does not exist when NP_NO_CARBON.

BUG=none

Review URL: https://codereview.chromium.org/212993006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259741 0039d316-1c4b-4281-b951-d872f2087c98
Mojo: Move public C system header files to mojo/public/c/system/.

(macros.h is a bit strange, since it contains C++ macros as well. We may
want to split this file.)

R=darin@chromium.org

Review URL: https://codereview.chromium.org/213393002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259742 0039d316-1c4b-4281-b951-d872f2087c98
SSLPolicy::UpdateEntry is returning when it encounters first error.
Because of this, SSLStatus::DISPLAYED_INSECURE_CONTENT should be set before other errors are examined.

This handles the case when not all flags are set if there are some problems with the certificate on the page *and* insecure content is loaded.

BUG=348560

Review URL: https://codereview.chromium.org/184483002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259743 0039d316-1c4b-4281-b951-d872f2087c98
Cast: wire up the callbacks to allocate VEA and shared memory.

BUG=354267
R=hclam@chromium.org

Review URL: https://codereview.chromium.org/212813007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259746 0039d316-1c4b-4281-b951-d872f2087c98
Mac: Fix sorting on "idle wakeups"

Added missing case in CompareValues().

BUG=356480

Review URL: https://codereview.chromium.org/213273002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259747 0039d316-1c4b-4281-b951-d872f2087c98
Remove the browsingData, contextMenusInternal, echoPrivate, runtime,
virtualKeyboardPrivate, and webstorePrivate APIs from
extensions_api_resources.grd (and correpondingly from extension_api.cc). They
are now included in the api.gyp file so no longer needed as resources.

R=yoz@chromium.org
TBR=jhawkins@chromium.org

Review URL: https://codereview.chromium.org/213203002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259748 0039d316-1c4b-4281-b951-d872f2087c98
Enable the ChaCha20+Poly1305 (kCC12) AEAD algorithm.

Truncate the Poly1305 authenticator to 12 bytes to match the assumption
of QUIC packet encoding code.

Merge internal CL: 63490873

Change the client to favor local preference when negotiating the AEAD
algorithm and key exchange method.

R=agl@chromium.org,rch@chromium.org,rtenneti@chromium.org

Review URL: https://codereview.chromium.org/208933004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259749 0039d316-1c4b-4281-b951-d872f2087c98
Cast: UDP proxy library and binary

This udp prody lets you simulate packet delays and drops for UDP packets.
The code is separated into a library and a binary, the library is intended to
be usable directly from tests, while the binary is intended to be used for manual
testing. Library is modular and will probably be extended with more ways to do
evail/bad/naughty things to the packets in the future.

Review URL: https://codereview.chromium.org/210553002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259750 0039d316-1c4b-4281-b951-d872f2087c98
Do not cancel request when an error occurs in a webRequest event handler

BUG=355236
TEST=browser_tests: ExtensionWebRequestApiTest.WebRequestApi:ExtensionWebRequestApiTest.WebRequestBlocking

Review URL: https://codereview.chromium.org/212693002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259751 0039d316-1c4b-4281-b951-d872f2087c98
Read Chrome OS sysinfo files when running not on Chrome OS

It is very useful feature for debugging Chrome on desktop. All files
can be very easy created for testing purpose on desktop.

BUG=none
TEST=manual
R=stevenjb@chromium.org

Review URL: https://codereview.chromium.org/211943003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259752 0039d316-1c4b-4281-b951-d872f2087c98
Don't use last_error before attempting a connection

We were mistakenly checking 'last_error' before attempting a connection
which is incorrect since 'last_error' may not have been cleared and may
not be relevant. Also, we should always try to connect to insecure
networks which have not configuration UI.

BUG=356377

Review URL: https://codereview.chromium.org/213013004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259753 0039d316-1c4b-4281-b951-d872f2087c98
Reland of GN: Remove some dead code that was confusing. https://codereview.chromium.org/202733003/

BUG=354626
TBR=brettw@chromium.org

Review URL: https://codereview.chromium.org/213233005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259754 0039d316-1c4b-4281-b951-d872f2087c98
Revert of Extract RuntimeEventRouter from extensions Runtime API (https://codereview.chromium.org/206613005/)

Reason for revert:
After talking to yoz@ and rockot@ I don't
think we want to extract the runtime implementation to src/extensions. It's got too much Chrome-specific stuff, and for app_shell we really need app_runtime and not runtime.


Original issue's description:
> Extract RuntimeEventRouter from extensions Runtime API
> 
> Another step toward moving the runtime API to src/extensions so it can be
> used by app_shell.
> 
> BUG=354552
> TEST=browser_tests ExtensionApi*:*Runtime*
> TBR=xiyuan@chromium.org for header file move touching chrome/browser/chromeos/app_mode
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=259477

TBR=yoz@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=354552

Review URL: https://codereview.chromium.org/213313007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259755 0039d316-1c4b-4281-b951-d872f2087c98
Claim ownership of Blacklist.* histograms

R=isherman@chromium.org
BUG=
NOTRY=true

Review URL: https://codereview.chromium.org/212563012

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259756 0039d316-1c4b-4281-b951-d872f2087c98
Fix extension/common/permissions presubmit

This fixes the presubmit failing on every api_permission enum update,
which should not happen. The problem is that the enum start and end
markers are missing two leading spaces, so the enum value checker does
not find them.

Also, fix the presubmit crash when showing long message.

BUG=356843,338781
TEST=strict_enum_value_checker_test.py
NOTRY=true

Review URL: https://codereview.chromium.org/213543002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259759 0039d316-1c4b-4281-b951-d872f2087c98
Cancel drag in the folder view's AppsGridView when dragging is performed there. This cl does not directly fix crbug.com/352057, but is exposed by its related fix https://codereview.chromium.org/210583004/.

BUG=352057
R=xiyuan@chromium.org

Review URL: https://codereview.chromium.org/213253008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259760 0039d316-1c4b-4281-b951-d872f2087c98
Add Play Store listings text for Chromoting app

R=jamiewalch@chromium.org

Review URL: https://codereview.chromium.org/211573008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259762 0039d316-1c4b-4281-b951-d872f2087c98
Move some code from onCreate() to onStart() in Chromoting Android app

This reloads the system's accounts list whenever the app is started
(so if the user adds an account, then switches back to the app, the
change will be reflected).

This also reloads the host list, which will alleviate many of the
problems with stale OAuth tokens such as in bug 304719.

BUG=304719
NOTRY=true

Review URL: https://codereview.chromium.org/212673010

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259763 0039d316-1c4b-4281-b951-d872f2087c98
Fix compile error in ShellDesktopController with clang

error: expected function body after function declarator
    ... outputs) OVERRIDE {

TBR=derat@chromium.org

Review URL: https://codereview.chromium.org/213283008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259764 0039d316-1c4b-4281-b951-d872f2087c98
Use shorter official product name for Android Chromoting client

BUG=351526
R=jamiewalch@chromium.org

Review URL: https://codereview.chromium.org/213653003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259765 0039d316-1c4b-4281-b951-d872f2087c98