SVN changes up to revision 170118
Tell OSX to manage its own property listener callback thread.

Seems OSX might be expecting us to only make AudioObjectPropertyData
calls on the same thread as listener callbacks are fired on.  Setting the
kAudioHardwarePropertyRunLoop to NULL tells OSX to manage its own thread,
which will hopefully ensure it has to fire callbacks in a concurrency safe
manner.

Another option might be to set the run loop to the one used by the
audio thread.  However, currently we call AudioObjectPropertyData in
many places, not all of them on the audio thread.

In the WebRTC code base they have this code:

https://code.google.com/searchframe#OAMlx_jo-ck/src/third_party/webrtc/modules/audio_device/mac/audio_device_mac.cc&l=374

I also found:
http://stackoverflow.com/questions/9674666/default-audio-output-getting-device-changed-notification-coreaudio-mac-os-x
http://lists.apple.com/archives/coreaudio-api/2009/Oct/msg00212.html

BUG=158170
TEST=device changes still work.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170119 0039d316-1c4b-4281-b951-d872f2087c98
Make PPAPI headers compilable with -Wstrict-prototypes

This changes the PPAPI headers to use "foo(void)" rather than "foo()"
in function prototypes and definitions.

In C (but not C++), "foo()" declares a function with unspecified
arguments, which allows foo to be called with excess arguments or
implemented with excess arguments.  Using "foo(void)" is more correct
and will prevent such mistakes.  GCC's -Wstrict-prototypes warning
requires using "foo(void)", and we'd like to turn this warning on for
NaCl C code.

BUG= https://code.google.com/p/nativeclient/issues/detail?id=3114
TEST= rerun ppapi/generators/generator.py + compile

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170120 0039d316-1c4b-4281-b951-d872f2087c98
google_apis: Add a test for RenameResourceOperation

BUG=162348
TEST=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170121 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 170120
SVN changes up to revision 170121
google_apis: Add a test for AuthorizeAppOperation

Along the way, fix a crash in AuthorizeAppOperation::ParseResponse()
which can occur if the server returns invalid XML data.

BUG=162348
TEST=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170122 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 170122
Reenable PlatformAppBrowserTest.ShellWindowRestorePosition on non-GTK platforms

Changed the test to not test the defaultWidth + width case, as that is no
longer supported.  Also refactored to streamline test.

BUG=155459,160343
R=mek@chromium.org,yoz@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170123 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 170124
Initialize the Linux sandbox earlier in workers.

The Linux sandbox must be initialized before threads are created.

BUG=156980
NOTRY=true


Review URL: https://chromiumcodereview.appspot.com/11308161

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170125 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 170125
Fix nits in crypto::InitNSSSafely().

Some comments in https://chromiumcodereview.appspot.com/11411013/
were not addressed before the CL landed, so do that now.

BUG=None
TEST=content_browsertests
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/11418212

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170129 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 170129
google_apis: Add a test for AddResourceToDirectoryOperation

BUG=162348
TEST=none

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

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

BUG=None
TEST=Compiles


Review URL: https://chromiumcodereview.appspot.com/11413181

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170131 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 170131
Add strings for WebLocalizedString::ValidationBadInputForDateTime and WebLocalizedString::ValidationBadInputForNumber.

BUG=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170132 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 170132
Trivial style fix in message_bubble_base.

Our coding style guide requires to make all members private and add accessors when necessary.
http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml?showone=Access_Control#Access_Control
Also move DISALLOW_COPY_AND_ASSIGN to private too.

BUG=None
TEST=Build succeeds


Review URL: https://chromiumcodereview.appspot.com/11316200

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