- 28 Mar, 2015 22 commits
-
-
blink-deps-roller authored
Summary of changes available at: https://chromium.googlesource.com/chromium/blink/+log/c93fade..539ab17 TBR= Review URL: https://codereview.chromium.org/1044603002 Cr-Commit-Position: refs/heads/master@{#322702}
-
chromeos-commit-bot authored
Cr-Commit-Position: refs/heads/master@{#322701}
-
blink-deps-roller authored
Summary of changes available at: https://chromium.googlesource.com/chromium/blink/+log/7a91f7f..c93fade TBR=pkasting@chromium.org,yutak@chromium.org Review URL: https://codereview.chromium.org/1047473004 Cr-Commit-Position: refs/heads/master@{#322700}
-
slamm authored
BUG=469296 Review URL: https://codereview.chromium.org/1046493003 Cr-Commit-Position: refs/heads/master@{#322699}
-
chrome-tpm authored
Cr-Commit-Position: refs/heads/master@{#322698}
-
noms authored
Some classes still using it directly are: - cloud_print_proxy_process_browsertest.cc (it's not a browser test so it doesn't call ChromeMainDelegate::PreSandboxStartup(), which sets up the PathService to know about the user-data-dir - in_process_browser_test.cc, which needs to set up the user-data-dir directory before PreSandboxStartup() is called - diagnostics_model and diagnostics_controller, which are used in BasicStartupComplete(), which is called before PreSandboxStartup() where the PathService is set up - shell_integration_win.cc which has a function that's used in unit tests, which don't call PreSandboxStartup() - chrome/browser/shell_integration.cc is used differently on linux than on other platforms, and on the former a desktop app shortcut uses a different command line that that of Chrome's - cloud_print/service/*, since it seems to be its own thing, and have a separate user_data_dir BUG=464616 Review URL: https://codereview.chromium.org/1010923002 Cr-Commit-Position: refs/heads/master@{#322697}
-
lambroslambrou authored
This prevents Bluetooth (and other external) keyboards from shutting down the Desktop activity when activated or powered off. BUG=471435 Review URL: https://codereview.chromium.org/1046503002 Cr-Commit-Position: refs/heads/master@{#322696}
-
sievers authored
Remove the refcounted internal state object (nested class 'Context'). This refactor makes it more obvious what happens on what thread, and avoids the need to pass refptrs around. TBR=bradnelson@chromium.org BUG=469248 Review URL: https://codereview.chromium.org/1022703007 Cr-Commit-Position: refs/heads/master@{#322695}
-
jrw authored
BUG= Review URL: https://codereview.chromium.org/1039853002 Cr-Commit-Position: refs/heads/master@{#322694}
-
slamm authored
Old one was broken by a "git push --force". The new mirror's path makes it clear that it is a github mirror. BUG=470159 Review URL: https://codereview.chromium.org/1046473002 Cr-Commit-Position: refs/heads/master@{#322693}
-
peter authored
When a Service Worker registration gets dropped, all notifications associated with that notification should be removed as well. Two cases which will be addressed in follow-up patches are when the Service Worker database gets wiped, and granting the notification context the ability to close deleted notifications by itself. Design document: http://goo.gl/TciXVp BUG=447628 Review URL: https://codereview.chromium.org/1014703007 Cr-Commit-Position: refs/heads/master@{#322692}
-
dtu authored
I'm trying to use Python's tokenize library, but it has a bug with this case. (Verified in Python 2.7.9.) Soooo just eliminate all instances. Also adjust some long comments. The style guide rule is, "within comments, put long URLs on their own line if necessary." BUG=449308 TEST=None. Review URL: https://codereview.chromium.org/1020853015 Cr-Commit-Position: refs/heads/master@{#322691}
-
watk authored
Revert of FFmpeg roll for M43. (patchset #2 id:20001 of https://codereview.chromium.org/1032543004/) Reason for revert: Failed to compile: http://build.chromium.org/p/chromium.gpu/builders/GPU%20Mac%20Builder/builds/30642 Original issue's description: > FFmpeg roll for M43. > > Update FFmpegDemuxer::OnFindStreamInfoDone with the new > AVFormatContext layout. > > BUG=465940 > > Committed: https://crrev.com/02c707cdd098e97dd78c3ff2858576dcbcaa9082 > Cr-Commit-Position: refs/heads/master@{#322688} TBR=dalecurtis@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=465940 Review URL: https://codereview.chromium.org/1046493002 Cr-Commit-Position: refs/heads/master@{#322690}
-
about://tracingnednguyen authored
Update DEPS for trace-viewer to include the 3 tracing modes selector. BUG=396081 TEST= Review URL: https://codereview.chromium.org/1033223008 Cr-Commit-Position: refs/heads/master@{#322689}
-
watk authored
Update FFmpegDemuxer::OnFindStreamInfoDone with the new AVFormatContext layout. BUG=465940 Review URL: https://codereview.chromium.org/1032543004 Cr-Commit-Position: refs/heads/master@{#322688}
-
emircan authored
MEDIASUBTYPE_RGB32 is observed to be equivalent to MEDIASUBTYPE_ARGB32 in terms of color space conversion. This CL adds support for this sub type by directing it to PIXEL_FORMAT_ARGB VideoPixelFormat. It is also observed that output is flipped as it happens on PIXEL_FORMAT_RGB24 [0]. This is solved by adding a Windows specific flip switch. [0] https://code.google.com/p/chromium/codesearch#chromium/src/content/browser/renderer_host/media/video_capture_device_client.cc&l=156 BUG=464855 BUG=389542 TEST=AppRTC loopback was tested with DXTory capturing on Solitaire. Review URL: https://codereview.chromium.org/1036063002 Cr-Commit-Position: refs/heads/master@{#322687}
-
jrummell authored
encrypted_media_browsertest.cc checks receivedKeyMessage after the test page completes. However, receivedKeyMessage is never set in failure cases, so the code times out trying to get the value. Setting receivedKeyMessage to false during initialization to avoid this problem. BUG= TEST=manually created test failures cause EME browser_tests to fail Review URL: https://codereview.chromium.org/1034343004 Cr-Commit-Position: refs/heads/master@{#322686}
-
jww authored
In order to avoid invaliding CSRF protections on the server, it is necessary to set the Origin header to "null" on cross origin redirect. This avoids problems where a malicious server redirects a POST request to a sender to cause a confused deputy problem where the server believes the request originated with the Origin header origin. This adds a check to url_request.cc where if the redirect is cross origin and an Origin header is present, this sets the Origin header to "null." If there is not Origin header, it leaves it as-is. R=rsleevi@chromium.org BUG=465517 Review URL: https://codereview.chromium.org/1017583002 Cr-Commit-Position: refs/heads/master@{#322685}
-
Vincent Scheib authored
This reverts commit 35b188a9. Caused browser_tests AutomationApiTest.DesktopLoadTabs to fail e.g.: https://build.chromium.org/p/chromium.linux/builders/Linux%20Tests/builds/22541 """ AutomationApiTest.DesktopLoadTabs (run #1): [ RUN ] AutomationApiTest.DesktopLoadTabs Xlib: extension "RANDR" missing on display ":9". Xlib: extension "RANDR" missing on display ":9". [25828:25828:0327/163831:INFO:audio_manager_pulse.cc(258)] Failed to connect to the context. Error: Connection refused [25828:25932:0327/163832:WARNING:data_reduction_proxy_config.cc(330)] SPDY proxy OFF at startup [25828:25828:0327/163832:WARNING:password_store_factory.cc(259)] Using basic (unencrypted) store for password storage. See http://code.google.com/p/chromium/wiki/LinuxPasswordStorage for more information about password storage options. [25828:25828:0327/163832:INFO:CONSOLE(0)] "calling getTree() callback", source: chrome-extension://mojndmjfhfgjjicpoiodenhflfmkopil/load_tabs.html (0) [25828:25828:0327/163832:INFO:CONSOLE(0)] "calling getTree() callback", source: chrome-extension://mojndmjfhfgjjicpoiodenhflfmkopil/load_tabs.html (0) [25828:25828:0327/163832:INFO:CONSOLE(0)] "[FAIL] testLoadTabs: uncaught exception: Cannot read property 'firstChild' of undefined: TypeError: Cannot read property 'firstChild' of undefined at testLoadTabs (chrome-extension://mojndmjfhfgjjicpoiodenhflfmkopil/load_tabs.js:28:36) """ NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=Original Patch Had No Bug!?! TBR=dmazzoni@chromium.org, oshima@chromium.org, sky@chromium.org, dtseng@chromium.org Review URL: https://codereview.chromium.org/1040863002 Cr-Commit-Position: refs/heads/master@{#322684}
-
fsamuel authored
Only push attributes to the browser process on attach that have changed since create. This CL also allows partial changes to autosize parameters. BUG=471402 Review URL: https://codereview.chromium.org/1033373003 Cr-Commit-Position: refs/heads/master@{#322683}
-
estark authored
This uses the SecurityInterstitialIDNTest class to implement a test that Safe Browsing blocking pages decode IDN correctly. BUG=470406 Review URL: https://codereview.chromium.org/1035143002 Cr-Commit-Position: refs/heads/master@{#322682}
-
mukai authored
gfx::ElideRectangleText creates lots of RenderText object which causes the performance regression. This CL avoids invoking the method by moving allow_character_break property to RenderText. BUG=470506 R=msw@chromium.org, sky@chromium.org TEST=the new test case covers Review URL: https://codereview.chromium.org/1015533016 Cr-Commit-Position: refs/heads/master@{#322681}
-
- 27 Mar, 2015 18 commits
-
-
skonig authored
BUG=471290 R=jamiewalch@chromium.org Review URL: https://codereview.chromium.org/1036413002 Cr-Commit-Position: refs/heads/master@{#322680}
-
hashimoto authored
fdatasync() should be faster than fsync(). From sqlite3.c: /* ** We do not trust systems to provide a working fdatasync(). Some do. ** Others do no. To be safe, we will stick with the (slightly slower) ** fsync(). If you know that your system does support fdatasync() correctly, ** then simply compile with -Dfdatasync=fdatasync */ BUG=469071 Review URL: https://codereview.chromium.org/1035903002 Cr-Commit-Position: refs/heads/master@{#322679}
-
lazyboy authored
HTTP cache clearing methods have been refactored into a separate class: StoragePartitionBrowsingDataRemover in http://crrev.com/1033013003/ One method was exposed in WebCacheManager so we can clear renderer/ cache for a given render process. <webview> already has a set of data it can clear, this CL adds "cache" to that set, similar to chrome.browsingData API. BUG=406437 Test=Load a <webview> in a chrome app, e.g. the browser sample app: https://github.com/GoogleChrome/chrome-app-samples/tree/master/samples/webview-samples/browser Open inspector for the webview: from chrome://inspect, switch to Apps, and inspect the tab that says "Google" under "Browser sample". Switch to network tab in that inspector so you can monitor http requests. Visit some page in the <webview>, for my test case, I visited http://www.google.ca Now look at the network tab for image requests (cause it should be much simpler), e.g. nav_logo_195.png Reload the page couple of times, observer the status code for the image request, it should say 304 OK. Now open the app's inspector: Same as above, but inspect "Browser sample" instead. Call <webview> clear cache api from its console: document.querySelector('webview').clearData( {since: 1}, {cache: true}, function() { window.console.log('clear complete'); }) Expect "clear complete" message to show in app's console. Now reload the page one more time and check the same image's request, it should say 200 OK instead of 304. Review URL: https://codereview.chromium.org/1021073002 Cr-Commit-Position: refs/heads/master@{#322678}
-
dyen authored
The gpu_times metric has been known to be flaky but it seems that the flakiness only affects desktop devices. Enable it on android only. R=nednguyen@chromium.org BUG=455292 Review URL: https://codereview.chromium.org/1041963002 Cr-Commit-Position: refs/heads/master@{#322677}
-
erg authored
Ever since https://codereview.chromium.org/710803002/, we haven't been exposing a cookie jar or a clipboard to html_viewer. This looks like an accident during refactoring. BUG= Review URL: https://codereview.chromium.org/1037423002 Cr-Commit-Position: refs/heads/master@{#322676}
-
dfalcantara authored
Makes a method similar to DocumentUtilities.finishOtherTasksWithData(), but specifically for killing tasks with the same DocumentTab ID. BUG=445136 Review URL: https://codereview.chromium.org/1044513002 Cr-Commit-Position: refs/heads/master@{#322675}
-
maruel authored
$ git log 53ef01328..13e7c88b5 --date=short --format='%ad %ae %s' | sed 's/@chromium\.org//' 2015-03-26 maruel Add bot_delete command and add DELETE support to utils/net. 2015-03-24 maruel Print a proper error when the target directory exists. 2015-03-23 vadimsh Do not import oauth2client.crypt since it fails on bots. 2015-03-23 maruel Fix enumeration when using '&' in the url. 2015-03-23 maruel Do not print an exception if stdout is closed early. 2015-03-20 vadimsh Add support for service account. 2015-03-20 vadimsh Simplify authentication related code. 2015-03-20 maruel Do not hang if a grand children outlives the children process. Add whitelist for pyasn1, it's BSD licensed. Add whitelist for rsa, it's Apache v2.0 licensed. R=vadimsh@chromium.org,phajdan.jr@chromium.org,thestig@chromium.org BUG=471372 Review URL: https://codereview.chromium.org/1036243002 Cr-Commit-Position: refs/heads/master@{#322674}
-
dnicoara authored
Buffers are expected to be scheduled/released in FIFO order. When enabling a display we want to re-use a buffer to avoid flashes. As such we need to make sure that the buffer used for modesetting is the last buffer queued. BUG=chrome-os-partner:38267 Review URL: https://codereview.chromium.org/1041823002 Cr-Commit-Position: refs/heads/master@{#322673}
-
rdevlin.cronin authored
Automatic extern generation has gotten to the point where it yields a better result than the somewhat hand-modified version (Yay!). Use the generated one in the closure compiler externs. BUG=469920 Review URL: https://codereview.chromium.org/1010083008 Cr-Commit-Position: refs/heads/master@{#322672}
-
reddaly authored
Allows all packaged apps to use the chrome.mdns API, and removes whitelist that restricts the set of service type that can be discovered. R=mkwst@chromium.org,mfoltz@chromium.org BUG=426500 Review URL: https://codereview.chromium.org/668983003 Cr-Commit-Position: refs/heads/master@{#322671}
-
paulmeyer authored
Review URL: https://codereview.chromium.org/1041973002 Cr-Commit-Position: refs/heads/master@{#322670}
-
ananta authored
It is not clear as to how this crash occurs. From the callstack, the crash occurs in the context of a bubble getting created and before it is initialized. In the context of the bubble creation, DesktopNativeWidgetAura instantiates the IME COM objects which instantiate a local COM server. This causes the main UI loop to be reentered and the bubble is resized in this context. The WidgetObserver OnWidgetBoundsChanged method in the BubbleDelegateView gets invoked which crashes while dereferencing the top level widget as it has not been initialized yet. It is unclear as to how the WidgetObserver is set up here. From the code the BubbleDelegateView observer is setup after the bubble is initialized, i.e in the BubbleDelegateView::CreateBubble function after the bubble is created. Fix is to delay the initialization of the IME on Windows until we receive the first IME message or an input language change notification BUG=454375 TEST=None at the moment, as it is unclear as to how this crash can happen. Review URL: https://codereview.chromium.org/1037103004 Cr-Commit-Position: refs/heads/master@{#322669}
-
danakj authored
Revert of Add switch (for cast_shell) to defer creation of GPU process. (patchset #8 id:140001 of https://codereview.chromium.org/1038783002/) Reason for revert: Breaking mac browser tests? http://build.chromium.org/p/chromium.mac/builders/Mac10.6%20Tests/builds/436 BrowserGpuChannelHostFactoryTest.AlreadyEstablished (run #1): [ RUN ] BrowserGpuChannelHostFactoryTest.AlreadyEstablished [35311:27139:0327/154011:20111614311426:ERROR:browser_gpu_channel_host_factory.cc(134)] Failed to launch GPU process. [35311:27139:0327/154011:20111614504937:ERROR:browser_gpu_channel_host_factory.cc(134)] Failed to launch GPU process. ../../content/browser/gpu/gpu_ipc_browsertests.cc:179: Failure Value of: event Actual: false Expected: true [ FAILED ] BrowserGpuChannelHostFactoryTest.AlreadyEstablished, where TypeParam = and GetParam() = (215 ms) Original issue's description: > Add switch (for cast_shell) to defer creation of GPU process. > > For context - on Chromecast, we have the following scenario: > * We support running in the background (i.e. not rendering anything) > with our service running in the browser process to listen for incoming > cast connections. > * We cannot acquire any GPU resources (e.g. a GL context or surface) > during this time as another external application needs it, and it's a > global resource. > > We have supported starting up in the foreground and switching to this > mode for a long time. > > But now, we need to support starting up in this mode. In other words, > we need to bring up the browser process and run our cast receiver > service, but we cannot run any of the GPU process's initialisation > code until an incoming cast arrives. > > BUG=internal b/19898960 > > Committed: https://crrev.com/db7efe6dfbda08faa1e55cda4441b43dac005733 > Cr-Commit-Position: refs/heads/master@{#322655} TBR=enne@chromium.org,nasko@chromium.org,piman@chromium.org,sievers@chromium.org,halliwell@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=internal b/19898960 Review URL: https://codereview.chromium.org/1043603002 Cr-Commit-Position: refs/heads/master@{#322668}
-
skia-deps-roller authored
Summary of changes available at: https://chromium.googlesource.com/skia/+log/5cffba8..d8b34c2 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel TBR=hcm@google.com Review URL: https://codereview.chromium.org/1037293003 Cr-Commit-Position: refs/heads/master@{#322667}
-
dtseng authored
- on Chrome OS, continue to enumerate all Aura windows when building the desktop tree via the Ash shell. - on all other Aura platforms, lazily hook up top level windows that have been created in our object cache. This works by only presenting cached windows as children of the desktop node. Since serialization walks up the tree, we are guaranteed windows in the cache whenever a descendant view has an event fired upon it. - allow ChromeVox to traverse the desktop automation tree on all platforms. TEST=build ChromeVox webstore extension. Run it on linux chromium. Verify views-based UI reads. Review URL: https://codereview.chromium.org/1003283002 Cr-Commit-Position: refs/heads/master@{#322666}
-
reveman authored
Instead of avoiding to send IPC from ChildDiscardableSharedMemoryManager dtor, make sure ThreadSafeSender instance is still valid at the time dtor is called. BUG=471246 Review URL: https://codereview.chromium.org/1035313002 Cr-Commit-Position: refs/heads/master@{#322665}
-
nyquist authored
The Chrome sync code is implemented both in C++ and Java, and spread over the //sync top level folder and through //chrome/browser/sync. In addition, there's another part that lives in the Java-part of the directory tree: //chrome/android/java/src/org/chromium/chrome/browser/sync This CL adds a set of natural owners for that folder to help with the review process. BUG=None Review URL: https://codereview.chromium.org/1039583002 Cr-Commit-Position: refs/heads/master@{#322664}
-
danakj authored
Currently this class recurses to browser_view_->frame()->GetFrameView() in OnPaintBackground. Instead, do this recursion in PaintChildren so that it has access to the the recursion data to be passed through PaintChildren. R=sky BUG=466426 Review URL: https://codereview.chromium.org/1036403002 Cr-Commit-Position: refs/heads/master@{#322663}
-