| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
This is im preparation for removing the 'using" in file_path.h
Review URL: https://codereview.chromium.org/12286020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183021 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The current TRACE macros are designed for speed but it means
they generate lots of code. I added a
TRACE_EVENT_BINARY_EFFICENTx for those cases
where memory is more important the speed.
The issue here is I'm auto generating traces. The normal
TRACE_EVENT0 ended up adding 90k+ to the release build.
This new macro does not. This won't effect perf because
these macros used through a wrapper that only gets used
when certain command line flags are passed in.
In other words the code that uses these macros is not
called without the command line flags.
BUG=176383
Review URL: https://chromiumcodereview.appspot.com/12278018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182993 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
function, and adds the dalvik-heap-limit.
BUG=176201
NOTRY=true
No try since it has passed many times and is taking days in the CQ.
Review URL: https://chromiumcodereview.appspot.com/12223064
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182986 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
TBR=ben@chromium.org
BUG=155525
Review URL: https://chromiumcodereview.appspot.com/12252008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182918 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
For base .cc files not using the base namespace, I added a using since theses
files should be moved to the base namespace, and then explicit qualification
will no longer be necessary.
Original review URL: https://codereview.chromium.org/12226121
(reland of r182040).
Review URL: https://codereview.chromium.org/12278014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182916 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
it's causing issues with the linker on Win-64
BUG=166496
Review URL: https://chromiumcodereview.appspot.com/12256047
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182788 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
With some types of tracing you do not want to use the system time as the recorded event time. In those cases, we want to provide a timestamp that will be used to display the event.
In a similar vein, the thread which is outputting the event may not be the thread where the event happened so we also allow an explicit thread_id to be provided.
BUG=111509
Review URL: https://chromiumcodereview.appspot.com/11366109
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182768 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=176103
Review URL: https://codereview.chromium.org/12230026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182748 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
JB MR2 systrace.py combined the steps of trace tags settings and
trace collection into one step, so we need to react to the change
of trace tags settings to enable/disable atrace in chrome.
The change also benefit pre-JB-MR2 systems that we don't need to
restart chrome after changing the trace tags settings in Developer
options. However, we still need "adb shell stop; adb shell start"
if we set the trace tags using pre-JB-MR2 systrace.py.
BUG=173954
Review URL: https://chromiumcodereview.appspot.com/12221047
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182739 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On Linux, when not using tcmalloc, we still have a small wrapper
that aborts when allocation functions OOM.
In that configuration, we now We consider it a successful detection
of an overflow condition if the process aborts.
BUG=175500
Review URL: https://chromiumcodereview.appspot.com/12220107
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182628 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=176044
TEST=base_unittests ProcessUtilTest
Review URL: https://codereview.chromium.org/12257013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182540 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This completes componentization of Prefs, although there are some
remaining TODOs that were created during componentization and
interface improvement that still need to be tackled.
TBR=ben@chromium.org
BUG=155525
Review URL: https://chromiumcodereview.appspot.com/12253004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182485 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=166496
Review URL: https://chromiumcodereview.appspot.com/12258025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182457 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> Base: Disable the scoped handle verifier.
>
> This cl is intended for the beta branch.
>
> BUG=176188
> TEST=none
> Review URL: https://codereview.chromium.org/12230034
TBR=rvargas@google.com
Review URL: https://codereview.chromium.org/12212181
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182372 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
| |
lack this property.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182368 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
This cl is intended for the beta branch.
BUG=176188
TEST=none
Review URL: https://codereview.chromium.org/12230034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182367 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In logging.h, the NOTIMPLEMENTED_POLICY macro defines the behavior of the NOTIMPLEMENTED() macro. For case 5 (log only once per call-site), code that uses stream output operators would fail to compile. For example, in ui/aura/root_window_host_linux.cc:747:
NOTIMPLEMENTED() << "Unsupported bits-per-pixel " << image->bits_per_pixel;
The solution is to add EAT_STREAM_PARAMETERS to the end of the definition in base/logging.h. This will log call sites as "not implemented" but will not log the additional custom messages.
TEST=Compiled chrome with compiler define set to NOTIMPLEMENTED_POLICY=5 and ran to confirm desired NOTIMPLEMENTED() behaviors.
Review URL: https://chromiumcodereview.appspot.com/12221152
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182167 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
64-bit PE files aren't as predictable as 32-bit, so I'll need to modify these tests.
I'm disabling them for now to get the bots on the main waterfall.
R=rvargas@chromium.org,robertshield@chromium.org
BUG=167707
Review URL: https://codereview.chromium.org/12207128
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182078 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
TBR=willchan
BUG=175563
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/12212149
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182066 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> Make base compile with no "using base::FilePath".
>
> For base .cc files not using the base namespace, I added a using since theses
> files should be moved to the base namespace, and then explicit qualification
> will no longer be necessary.
>
> Review URL: https://codereview.chromium.org/12226121
TBR=brettw@chromium.org
Review URL: https://codereview.chromium.org/12207132
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182040 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
It passes locally but fails on the bots. Disabling for now.
BUG=175753
Review URL: https://chromiumcodereview.appspot.com/12217139
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182034 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
For base .cc files not using the base namespace, I added a using since theses
files should be moved to the base namespace, and then explicit qualification
will no longer be necessary.
Review URL: https://codereview.chromium.org/12226121
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182032 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
hack that was a layering violation which sent a custom win32 message from RenderWidgetHostViewWin to WebContentsViewWin. Instead do this properly from RenderWidgetHostImpl to its delegate (WebContentsImpl), which works for both aura and non-aura windows builds.
BUG=175055
Review URL: https://codereview.chromium.org/12221144
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181965 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=173176
TEST=none
Review URL: https://chromiumcodereview.appspot.com/12218098
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181793 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
stack to use platform-specific private key objects to perform
signing in the context of SSL handshakes which require a client
certificate.
More specifically:
- Add net/android/keystore.h, which provides native
functions to operate on JNI references pointing to
java.security.PrivateKey objects provided by the
platform. I.e.:
net::android::GetPrivateKeyType()
net::android::SignWithPrivateKey()
Also provide a function that can get the system's own
EVP_PKEY* handle corresponding to a given PrivateKey
object. This uses reflection and should *only* be used
for RSA private keys when running on Android 4.0 and
4.1, in order to route around a platform bug that was
only fixed in 4.2.
net::android::GetOpenSSLSytstemHandleForPrivateKey()
See the comments in this source file for mode details:
net/android/java/org/chromium/net/AndroidKeyStore.java
- Add net/android/keystore_openssl.h, which provides
a function that can wrap an existing PrivateKey
JNI reference around an OpenSSL EVP_PKEY object
which uses custom DSA/RSA/ECDSA methods to perform
signing as expected to handle client certificates.
net::android::GetOpenSSLPrivateKeyWrapper()
- Add relevant unit tests for the new functions.
Note that the unit test comes with its own Java helper
function, which is used to create a platform PrivateKey
object from encoded PKCS#8 private key data.
This is called from the native unit test, but does not
constitute a new Java test (AndroidKeyStoreTestUtil.java).
- Add corresponding new test key files under
net/data/ssl/certificates/, and their generation
script in net/data/ssl/scripts/.
- Add net/android/private_key_type_list.h which is
used both from C++ and Java to define the list of
supported private key types used by this code.
- Minor improvements: Add a "release()" method to
crypto::ScopedOpenSSL, add missing BASE_EXPORT
to one base/android/jni_array.h function declaration.
BUG=166642
Review URL: https://chromiumcodereview.appspot.com/11571059
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181741 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a mostly-automated change, using
./tools/git/move_source_file.py to move files and fix up include
guards and #includes from other files. Manual edits were limited to
fixing up .gypi files and adding BASE_PREFS_EXPORT where needed.
TBR=ben@chromium.org
BUG=155525
Review URL: https://codereview.chromium.org/12211105
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181707 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=165590
Review URL: https://codereview.chromium.org/11682008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181594 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=162971
Review URL: https://chromiumcodereview.appspot.com/12194034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181583 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
string_number_conversions in some chrome subdirectories.
Review URL: https://codereview.chromium.org/12218065
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181564 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This parser will be used by a higher-level class (not yet written) that will act
as the Parser::Delegate.
BUG=173176
Review URL: https://chromiumcodereview.appspot.com/12096119
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181530 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Chromium cannot control that code, and NSExceptions should be safe-ish
since there is no Chromium code on the stack.
BUG=174708
Review URL: https://chromiumcodereview.appspot.com/12208053
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181417 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
R=brettw@chromium.org
Review URL: https://chromiumcodereview.appspot.com/12218059
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181380 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
I manually extracted these values on Win7 using dumpbin.
Review URL: https://chromiumcodereview.appspot.com/12217076
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181379 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
It doesn't even compile for 64-bit under MSVC.
BUG=174947
TBR=jln@chromium.org, jar@chromium.org
R=jln, jar
Review URL: https://codereview.chromium.org/12223042
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181361 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
| |
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181353 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
| |
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181352 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
This updates callers in base but I left a forwarding header so I can the rest in pieces (there are >300).
Review URL: https://codereview.chromium.org/12213061
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181345 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Automated clean up of style checker errors that were missed due to the plugin
not being executed on implementation files.
BUG=115047
Review URL: https://chromiumcodereview.appspot.com/12236004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181246 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: https://codereview.chromium.org/12087115
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181183 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
This only updates includes in base and keeps a forwarding header for now to keep the change under control.
BUG=
Review URL: https://codereview.chromium.org/12092078
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181161 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
The x32 logic for the size of Atomic64 handles NaCL, but misses
the Linux case. Check the standard __ILP32__ to handle that too.
BUG=chromium-os:36866
TEST=compiled the code for x86_64 (64bit) & x86_64 (x32)
Review URL: https://chromiumcodereview.appspot.com/12186005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181114 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This is taken from the upstream nspr code base to support x32.
BUG=chromium-os:36866
TEST=compiled the code for x86_64 (64bit) & x86_64 (x32)
Review URL: https://chromiumcodereview.appspot.com/12180007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181067 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previous changes have placed these notifications in chrome/browser/system_monitor.
The storage and device interfaces have been decoupled in all consumers.
R=vandebo@chromium.org
BUG=149059
Review URL: https://chromiumcodereview.appspot.com/11852029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181047 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
These functions are used a lot in IPC receivers to manage storage.
See http://src.chromium.org/viewvc/chrome?view=rev&revision=175642
Review URL: https://codereview.chromium.org/12223014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181045 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
variant.
The former method is deprecated and actually it is just using RunLoop internally.
The later is the cannonical method and should be used instead.
BUG=131220
TEST=base_unittests
R=darin@chromium.org
Review URL: https://chromiumcodereview.appspot.com/12226007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180991 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It turned out this is not necessary,
we have a better warning already enabled in clang
(-Wdelete-non-virtual-dtor, part of -Wall).
TBR=darin,satorux,fischman,jamesr,jar,sky
BUG=45135
Review URL: https://codereview.chromium.org/12224027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180971 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=170345
TEST=passes jni_generator_tests and works well with android/media/MediaCodec::getInputBuffers().
Review URL: https://chromiumcodereview.appspot.com/12094008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180965 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Otherwise, they are artificially inflated for subsequent tests.
BUG=174108
Review URL: https://chromiumcodereview.appspot.com/12221017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180923 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/12193017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180914 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add more compiler barriers to prevent the compiler from optimizing
out calls to the very function we're testing.
This makes SecurityTest* pass in a Clang release build.
BUG=174452
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/12210023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180888 0039d316-1c4b-4281-b951-d872f2087c98
|