file_manager: Rename FileBrowserTask to FileTask in file_browser_private.json

To be consistent with the term "file task" used in other places.

BUG=267359
TEST=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215748 0039d316-1c4b-4281-b951-d872f2087c98
Revert 215696 "NaCl: Update revision in DEPS, r11912 -> r11926"

Building browser_tests on Windows debug fails with this:

F:\src\chrome4\src>ninja -C out\Debug browser_tests
ninja: Entering directory `out\Debug'
      0 [main] le32-nacl-ld.gold 11384 exception::handle: Exception: STATUS_ACCESS_VIOLATION
   1916 [main] le32-nacl-ld.gold 11384 open_stackdumpfile: Dumping stack trace to le32-nacl-ld.gold.exe.stackdump
 112298 [main] le32-nacl-ld.gold 11384 F:\src\chrome4\src\out\Debug\gen\sdk\toolchain\win_x86_pnacl\host_x86_32\bin\le32
-nacl-ld.gold.exe: *** fatal error - cmalloc would have returned NULL
[563/1009] ACTION nacl_irt: build IRT x86-64 nexe_350da4490d60b2966aaf374d6128f33c
FAILED: f:\src\depot_tools\python_bin\python.exe gyp-win-tool action-wrapper environment.x86 nacl_irt_target_build_IRT_x
86_64_nexe_350da4490d60b2966aaf374d6128f33c..rsp ..\..\ppapi\native_client
Driver invocation: [u'F:\\src\\chrome4\\src\\out\\Debug\\gen\\sdk\\toolchain\\win_x86_pnacl\\newlib\\bin\\pnacl-ld', '-s
tatic', '-L../../out/Debug/gen/tc_irt/lib64/', '--target=x86_64-nacl', '-Wt,-mtls-use-call', '-Wn,-Trodata-segment=0x3ef
00000', '-Wn,-Ttext-segment=0x0fa00000', '-l:crt1.x', '-l:crti.bc', '-l:crtbegin.bc', '-l:unwind_stubs.bc', '--as-needed
', '--start-group', '-lirt_browser', '-lppapi_proxy_untrusted', '-lppapi_ipc_untrusted', '-lppapi_shared_untrusted', '-l
gles2_implementation_untrusted', '-lgles2_cmd_helper_untrusted', '-lgles2_utils_untrusted', '-lcommand_buffer_client_unt
rusted', '-lcommand_buffer_common_untrusted', '-ltracing_untrusted', '-lgpu_ipc_untrusted', '-lipc_untrusted', '-lbase_u
ntrusted', '-lshared_memory_support_untrusted', '-lsrpc', '-limc_syscalls', '-lplatform', '-lgio', '--end-group', '-lm',
 '--pnacl-allow-native', '--start-group', '-lstdc++', '-lm', '-lnacl', '-lc', '--end-group', '-o', '../../out/Debug/nacl
_irt_x86_64.nexe.debug', '--pnacl-driver-verbose', '-arch', 'x86-64']
Running: F:\src\chrome4\src\out\Debug\gen\sdk\toolchain\win_x86_pnacl\host_x86_32\bin\llvm-dis.exe \
    -dump-metadata \
    F:/src/chrome4/src/out/Debug/gen/sdk/toolchain/win_x86_pnacl/newlib/lib-bc-x86-64/crti.bc
Return Code: 0
Running: F:\src\chrome4\src\out\Debug\gen\sdk\toolchain\win_x86_pnacl\host_x86_32\bin\llvm-dis.exe \
    -dump-metadata \
    F:/src/chrome4/src/out/Debug/gen/sdk/toolchain/win_x86_pnacl/newlib/lib-bc-x86-64/crtbegin.bc
Return Code: 0
Running: F:\src\chrome4\src\out\Debug\gen\sdk\toolchain\win_x86_pnacl\host_x86_32\bin\llvm-dis.exe \
    -dump-metadata \
    F:/src/chrome4/src/out/Debug/gen/sdk/toolchain/win_x86_pnacl/newlib/lib-bc-x86-64/unwind_stubs.bc
Return Code: 0
Running: F:\src\chrome4\src\out\Debug\gen\sdk\toolchain\win_x86_pnacl\host_x86_32\bin\le32-nacl-ld.gold.exe \
    --oformat \
    elf64-x86-64-nacl \
    -Ttext=0x20000 \
    --undef-sym-check \
    --allow-unresolved=memcpy \
    --allow-unresolved=memset \
    --allow-unresolved=memmove \
    --allow-unresolved=setjmp \
    --allow-unresolved=longjmp \
    -plugin=F:/src/chrome4/src/out/Debug/gen/sdk/toolchain/win_x86_pnacl/host_x86_32/bin/cygLLVMgold.dll \
    -plugin-opt=emit-llvm \
    -nostdlib \
    -L../../out/Debug/gen/tc_irt/lib64/ \
    -LF:/src/chrome4/src/out/Debug/gen/sdk/toolchain/win_x86_pnacl/newlib/usr-bc-x86-64/lib/ \
    -LF:/src/chrome4/src/out/Debug/gen/sdk/toolchain/win_x86_pnacl/newlib/sdk/lib/ \
    -LF:/src/chrome4/src/out/Debug/gen/sdk/toolchain/win_x86_pnacl/newlib/lib-bc-x86-64/ \
    -static \
    --undefined=main \
    --undefined=exit \
    --undefined=_exit \
    F:/src/chrome4/src/out/Debug/gen/sdk/toolchain/win_x86_pnacl/newlib/lib-bc-x86-64/crti.bc \
    F:/src/chrome4/src/out/Debug/gen/sdk/toolchain/win_x86_pnacl/newlib/lib-bc-x86-64/crtbegin.bc \
    F:/src/chrome4/src/out/Debug/gen/sdk/toolchain/win_x86_pnacl/newlib/lib-bc-x86-64/unwind_stubs.bc \
    --as-needed \
    --start-group \
    ../../out/Debug/gen/tc_irt/lib64/libirt_browser.a \
    ../../out/Debug/gen/tc_irt/lib64/libppapi_proxy_untrusted.a \
    ../../out/Debug/gen/tc_irt/lib64/libppapi_ipc_untrusted.a \
    ../../out/Debug/gen/tc_irt/lib64/libppapi_shared_untrusted.a \
    ../../out/Debug/gen/tc_irt/lib64/libgles2_implementation_untrusted.a \
    ../../out/Debug/gen/tc_irt/lib64/libgles2_cmd_helper_untrusted.a \
    ../../out/Debug/gen/tc_irt/lib64/libgles2_utils_untrusted.a \
    ../../out/Debug/gen/tc_irt/lib64/libcommand_buffer_client_untrusted.a \
    ../../out/Debug/gen/tc_irt/lib64/libcommand_buffer_common_untrusted.a \
    ../../out/Debug/gen/tc_irt/lib64/libtracing_untrusted.a \
    ../../out/Debug/gen/tc_irt/lib64/libgpu_ipc_untrusted.a \
    ../../out/Debug/gen/tc_irt/lib64/libipc_untrusted.a \
    ../../out/Debug/gen/tc_irt/lib64/libbase_untrusted.a \
    ../../out/Debug/gen/tc_irt/lib64/libshared_memory_support_untrusted.a \
    ../../out/Debug/gen/tc_irt/lib64/libsrpc.a \
    ../../out/Debug/gen/tc_irt/lib64/libimc_syscalls.a \
    ../../out/Debug/gen/tc_irt/lib64/libplatform.a \
    ../../out/Debug/gen/t      0 [main] le32-nacl-ld.gold 11384 exception::handle: Exception: STATUS_ACCESS_VIOLATION
   1916 [main] le32-nacl-ld.gold 11384 open_stackdumpfile: Dumping stack trace to le32-nacl-ld.gold.exe.stackdump
c_irt/lib64/libgio.a \
    --end-group \
    F:/src/chrome4/src/out/Debug/gen/sdk/toolchain/win_x86_pnacl/newlib/usr-bc-x86-64/lib/libm.a \
    --start-group \
    F:/src/chrome4/src/out/Debug/gen/sdk/toolchain/win_x86_pnacl/newlib/usr-bc-x86-64/lib/libstdc++.a \
    F:/src/chrome4/src/out/Debug/gen/sdk/toolchain/win_x86_pnacl/newlib/usr-bc-x86-64/lib/libm.a \
    ../../out/Debug/gen/tc_irt/lib64/libnacl.a \
    F:/src/chrome4/src/out/Debug/gen/sdk/toolchain/win_x86_pnacl/newlib/usr-bc-x86-64/lib/libc.a \
    --end-group \
    -o ../../out/Debug/nacl_irt_x86_64.nexe.debug---linked.pre_opt.pexe
Return Code: 256
FAILED with 256: ..\..\out\Debug\gen\sdk\toolchain\win_x86_pnacl\newlib\bin\pnacl-clang++ -o ..\..\out\Debug/nacl_irt_x8
6_64.nexe.debug -Wl,--as-needed --pnacl-driver-verbose --target=x86_64-nacl -arch x86-64 --pnacl-allow-translate --pnacl
-allow-native -Wt,-mtls-use-call -Wn,-Trodata-segment=0x3ef00000 -Wn,-Ttext-segment=0x0fa00000 -B..\..\out\Debug/gen/tc_
irt/lib64 -Wl,--start-group -lirt_browser -lppapi_proxy_untrusted -lppapi_ipc_untrusted -lppapi_shared_untrusted -lgles2
_implementation_untrusted -lgles2_cmd_helper_untrusted -lgles2_utils_untrusted -lcommand_buffer_client_untrusted -lcomma
nd_buffer_common_untrusted -ltracing_untrusted -lgpu_ipc_untrusted -lipc_untrusted -lbase_untrusted -lshared_memory_supp
ort_untrusted -lsrpc -limc_syscalls -lplatform -lgio -Wl,--end-group -lm
[563/1009] ACTION ppapi_cpp_lib: build newlib plib_c57437bc942028300da3938a80060755
ninja: build stopped: subcommand failed.



> NaCl: Update revision in DEPS, r11912 -> r11926
> This pulls in the following Native Client changes:
> 
> r11913: (jfb) Revert "Use the proper flag name for -pnaclabi-allow-dev-intrinsics."
> r11914: (jfb) Update PNaCl DEPS.
> r11915: (kschimpf) Update pnacl llvm revisions.
> r11916: (jvoung) Run toolchain_tests w/ translate_fast=1, use_sandboxed_translator=1 on buildbots.
> r11917: (mseaborn) Reduce dyncode area's consumption of swap space on Windows
> r11918: (dschuff) PNaCl driver: pass through options that affect the native link from the
> r11919: (jfb) Update TOOL_REVISIONS for PNaCl 11896->11916
> r11920: (jfb) Test C++11 lock-free works for PNaCl
> r11921: (dschuff) Update PNaCl TOOL_REVISIONS, 11916->11918
> r11922: (petarj) [MIPS] Fix the toolchain build issue with M4 and flex
> r11923: (kschimpf) Update pnacl llvm revisions.
> r11924: (mseaborn) Cleanup: Move some Linux-only signal handling code into linux/nacl_signal.c
> r11925: (dschuff) Create IRT gyp actions separate from newlib actions
> r11926: (dschuff) Build the x86-64 IRT with PNaCl
> r11927: (dschuff) Don't use -r when building irt_browser_lib
> It also changes the gyp build of the NaCL IRT to build with the new gyp variable introduced on the NaCl side.
> 
> BUG= https://code.google.com/p/nativeclient/issues/detail?id=3577
> R=bradnelson@chromium.org, bradnelson@google.com
> 
> Review URL: https://codereview.chromium.org/22078002

TBR=dschuff@chromium.org

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215750 0039d316-1c4b-4281-b951-d872f2087c98
Rename onSuccess to callback in setShouldPollCards and setToastVisible

BUG=164227

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215751 0039d316-1c4b-4281-b951-d872f2087c98
file_manager: Move zip_file_creator.h/cc inside the gypi file

The files were placed in a section with a label
"Only extension API implementations should go here", which is
not the right place for the files.

BUG=none
TEST=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215752 0039d316-1c4b-4281-b951-d872f2087c98
Move native_app_window code to apps areas

native_app_window.h -> apps component
platform specific implementations of this are now in c/b/ui/xxx/apps.

The platform specific implementations should also move to apps/ but
they would currently bring some unwanted dependencies with them; that
can happen later.

BUG=159366

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215753 0039d316-1c4b-4281-b951-d872f2087c98
Turn off Synced Notifications at display level instead of network level.

To allow load testing of Synced Notifications as we ramp up, clients must
actually ask for the synced datatype even before we turn the feature on.

This change allows the network traffic of Synced Notifications even to machines
where the user has not yet turned on Synced Notifications.  The notifications
are discarded before displaying them, so there is no user-visible impact to
this change.  This change does mean that the Synced Notifications code will be
 exercised even when it has not been enabled specifically by the user.

The intent here is to allow this to be in the code for one milestone so that we
can slowly ramp up the white list before enabling the feature in the following
milestone.  When we enable the feature, we will remove the switch or undo this
change list.

Without this feature, we have no way to load test until the feature ships in the
wild, and we would just have to hope that we had fixed all the bugs and have the
capacity for launch.

BUG=267782

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215754 0039d316-1c4b-4281-b951-d872f2087c98
Remove experimental.MediaGalleries, it is only unused stubs.

BUG=259477

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215755 0039d316-1c4b-4281-b951-d872f2087c98
docserver redirector bug fix

the path to public/redirects.json is now correctly generated during cron
runs.

removed some logic related to channels that is now unneeded.

BUG=268459
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215756 0039d316-1c4b-4281-b951-d872f2087c98
Allow showing progress notification update in message center on Mac

Whether to show updates in the message center is controlled by the platform-independent layer. We do not need the logic in [MCTrayViewController onMessageCenterTrayChanged]. Remove it such that the progress update could be performed.

BUG=170924
TEST=Manual test by creating progress notifications and opening message center

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215759 0039d316-1c4b-4281-b951-d872f2087c98
cc: Fix IOSurfaceLayer freezing during aborts

This is the IOSurfaceLayer equivalent of this video layer fix:
https://chromiumcodereview.appspot.com/21567003

R=danakj@chromium.org
BUG=268287

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215760 0039d316-1c4b-4281-b951-d872f2087c98
Group CalculateDrawProperties arguments into meaningful structs

The amount of data passed through CalculateDrawProperties args is getting
unwieldy. This patch tries to tame that a little by grouping args into fewer
structs.

BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215761 0039d316-1c4b-4281-b951-d872f2087c98
Add an option for InstantExtended field trials to suppress the display of the verbatim suggestion when it is at position 0.

Also flips ShouldPreferRemoteNTPOnStartup to true by default, and modifies the pseudo-flags defined in the field trial names of InstantExtended field trials to be able to be queried successfully even when overall InstantExtended is disabled.  (This is necessary to allow an experiment for suppressing verbatim outside of InstantExtended.)

BUG=252823

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215762 0039d316-1c4b-4281-b951-d872f2087c98
The test framework doesn't really need to load resources and translations. This removes loading and changes the odd test that wasn't working anymore due to this change.

BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215763 0039d316-1c4b-4281-b951-d872f2087c98
[sql] Use recover virtual table in sql::Recovery.

Load the recover virtual table as part of sql::Recovery::Begin(), and
implement basic unit tests that it correctly recovers valid and
corrupt tables.

BUG=109482

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215764 0039d316-1c4b-4281-b951-d872f2087c98
rAc: add Google Wallet logo to bottom left.

BUG=258563

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215765 0039d316-1c4b-4281-b951-d872f2087c98
change TSFInputScope to have multiple InputScopes.

We will add TextInputMode to InputScope member.

BUG=244688

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215766 0039d316-1c4b-4281-b951-d872f2087c98
ShortcutManager, TestingProfile constructors: Added DCHECK for UI thread.

Profiles should only be created on the UI thread. Previously the DCHECK did not
work due to http://crbug.com/251191.

BUG=251191

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215768 0039d316-1c4b-4281-b951-d872f2087c98
linux_aura: Implement the static part of the dbus menu for Unity.

In GTK, we get a menu in the Unity bar for free as long as we have a
GtkMenuBar object in our GtkWindow. linux_aura doesn't use gtk widgets
in the interface. So opportunistically dlopen libdbusmenu-glib and
manually construct a hidden DbusmenuMenuItem* object tree.

This only ports the static parts of the menus; it doesn't port the
History menu, which changes based on user actions.

BUG=265560

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215769 0039d316-1c4b-4281-b951-d872f2087c98
Fix content_browsertests and other full stack tests in multiple_dll

Tests need both sets of entry point functions, ContentClient embedder
pointers, etc. Now in gyp, the three targets are content_app_browser for
browser-only, content_app_child, which is child-only, and
content_app_both which contains both.

TBR=joth@chromium.org, grt@chromium.org
R=jam@chromium.org
BUG=237249

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

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