media/webrtc/trunk/build/android/gdb_content_shell

Thu, 15 Jan 2015 15:59:08 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:59:08 +0100
branch
TOR_BUG_9701
changeset 10
ac0c01689b40
permissions
-rwxr-xr-x

Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     1 #!/bin/bash
     2 #
     3 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
     4 # Use of this source code is governed by a BSD-style license that can be
     5 # found in the LICENSE file.
     6 #
     7 # Attach gdb to a running content shell. Redirect to the shell gdb_apk
     9 ROOT=$(cd "$(dirname $0)"; pwd)
    11 if [ $# -gt 0 ]; then
    12   exec ${ROOT}/gdb_apk -r -g "$*"
    13 else
    14   exec ${ROOT}/gdb_apk -r -p org.chromium.content_shell
    15 fi

mercurial