Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Add support for file-picker #218

Open
wants to merge 471 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
471 commits
Select commit Hold shift + click to select a range
d78e669
Add Enterprise policy option to control minimum SSL fallback level.
agl Oct 21, 2014
8e111ba
Incrementing VERSION to 39.0.2171.36
Oct 21, 2014
8d8b242
Make chrome.experienceSamplingPrivate API available on stable channel
adrifelt Oct 21, 2014
13cb242
Record histograms for on-demand update check results.
GregTho Oct 22, 2014
48c6cda
Incrementing VERSION to 39.0.2171.37
Oct 22, 2014
875dc17
Merge 299672 "Initialize |switch_profile_link_| in the constructor."
Oct 22, 2014
33766d5
[Merge to M39][Cast, Android] Skip initial seek to 0 on fling
avayvod Oct 22, 2014
752c165
remove 320 max-width restriction for Recent Tabs
kuan8 Oct 22, 2014
f5534cf
gpu: Add missing ScopedRenderTo
Oct 22, 2014
a28c307
cc: Correct expansion of invalidation for tiles outside of interest rect
danakj Oct 22, 2014
edd88df
aw: Ensure invalidation when pipeline is stalled
Oct 22, 2014
3ea3c37
Make the background of the cast button semi-transparent
Oct 22, 2014
ca0bd02
Revert 4939383c95030cf963cf5a70ede23c57b212baa4 from M39
sgraham Oct 22, 2014
dda1f13
Offline interstitial mobile fixes
Oct 22, 2014
fcb6f2e
Add GetExplicitPassphraseTime() JNI call.
tommynyquist Oct 22, 2014
f7a0305
Move passphrase dialog logic to the enum.
tommynyquist Oct 22, 2014
f0b9052
Avoid entering an empty V8 context in PPB_Var_Deprecated IsInstanceOf…
Oct 22, 2014
7babeb7
Disable direct write if font count in registry is greater than or equ…
Oct 22, 2014
0b52aef
[Android] Add XXXHDPI assets
Oct 22, 2014
e50fd9a
Incrementing VERSION to 39.0.2171.38
Oct 23, 2014
20b5436
[Regression fix] [Data URI parser] Accept data URI with invalid media…
tyoshino Oct 23, 2014
da6c913
Merge 661693003 to M39: Avoid reporting 0 as input level when AudioPr…
Oct 23, 2014
e9f04fc
Fix documentation in policy templates
Oct 23, 2014
14ea095
Pepper: Access PepperMediaDeviceManager through a WeakPtr
davemichael Oct 23, 2014
b31a045
merge to m39: Fix a bug where QUIC connections would not fallback to …
rch-chromium-org Oct 23, 2014
c23ea71
Show About link in Settings instead of version number for M39
michaelpg Oct 23, 2014
736bffd
Use no-op statistics collecting object for WebView.
hush-at-google Oct 23, 2014
3cef526
Fix the drp crash for real.
hush-at-google Oct 23, 2014
5edfb3f
Record document mode histogram in UMA on every upload.
mariakhomenko Oct 23, 2014
5012c8c
Change UUID of Easy unlock service.
Oct 23, 2014
1c53f9c
Fix unbounded allocation of GL queries
ccameron-chromium Oct 23, 2014
d80ca23
Blacklist Intel GM865/GL960 on Mac OS 10.6
ccameron-chromium Oct 23, 2014
79c74f4
Fix branch compilation issue.
mariakhomenko Oct 23, 2014
a20bf33
Incrementing VERSION to 39.0.2171.39
Oct 24, 2014
b8c8416
Add support for audio input mute detection on all platforms.
henrikand Oct 24, 2014
42c451c
Domain Reliability: Get correct reporting pref once, on startup
Oct 24, 2014
e6e96a7
Incrementing VERSION to 39.0.2171.40
Oct 25, 2014
09d492d
Close SSLClientSocketOpenSSL cleanly if the transport was closed.
davidben Oct 27, 2014
b685bda
SSLClientSocketOpenSSL: Pump SSL_read loop on transport read error.
davidben Oct 27, 2014
c0f33aa
Restrict alt data reduction proxy to Android dev channel
Oct 27, 2014
7b24d28
aw: Do not limit number of tiles
Oct 27, 2014
369cf7a
Fix 2171 build to account for PassAs -> Pass transition
davidben Oct 27, 2014
d5ccc47
InitBookmarksExperimentState function signin check bug fix.
kkimdev Oct 27, 2014
0a2955f
Add setTextDirection to the ApiCompatibilityUtils.
Oct 27, 2014
5413310
Allow disabling the encrypt everything option.
Oct 27, 2014
5d5ca65
Merge to 2171: Don't create a BrowserAccessibilityManager for a child…
minorninth Oct 27, 2014
94c250c
[GCM] Fix crash when size packet splits two socket reads
Oct 27, 2014
385ee6c
Merge to 39 Sync: Avoid deadlock in SyncBackendRegistrar / ModelSafeW…
Oct 27, 2014
00981dd
MailboxSync: Imply fence with sync point
Oct 27, 2014
a383f3f
cc: Consider visible rect for update tile priority early out.
vmpstr Oct 27, 2014
e1c27af
Incrementing VERSION to 39.0.2171.41
Oct 28, 2014
5154d5b
[Merge] If there's no RVH while starting speech request, bail out.
Oct 28, 2014
255ee24
Merge 663413002 to M39:
Oct 28, 2014
1af46f5
CC: Fix issue for animations with fill and iteration start specified
Oct 28, 2014
10eb52e
CC: Fix issue where the compositor applies unnecessary updates
Oct 28, 2014
62db9da
Null check content view core before using it.
hush-at-google Oct 28, 2014
18b27f6
[Android] Initialize CommandLine before any usage in Render.
Oct 28, 2014
5f5a3b0
Merge: Defer scroll status determination until scrolling has occurred
Oct 28, 2014
a8ed430
Make Smart Lock user pod icons work well with ChromeVox.
Oct 28, 2014
7c6f7dc
Undo LeftAlt+LeftClick -> RightClick mapping.
jamiewalch Oct 28, 2014
4570f20
Revert "Merge to 39 Sync: Avoid deadlock in SyncBackendRegistrar / Mo…
Oct 28, 2014
d6e243f
Merge "easy-signin: Add UMA for login."
Oct 28, 2014
acad33a
Revert "Enable password generation by default." on branch 2171
Oct 28, 2014
01bd668
Implement UMA and internal data structure for tracking EWOULDBLOCK.
Oct 28, 2014
aff91e9
[chromedriver] Accept git hashes in blink version strings from devtools
samuong Oct 28, 2014
fe8eb03
Incrementing VERSION to 39.0.2171.42
Oct 28, 2014
66013fd
Add a flag to ProfileSyncService that says whether encrypting all dat…
sheepmaster Oct 28, 2014
12a9c73
Compile fix.
sheepmaster Oct 28, 2014
72425a6
[Infobar] Add a visibility override setting.
Oct 28, 2014
ecb5dfe
Add /s as a prepopulated template for search.
Oct 28, 2014
d839b12
Incrementing VERSION to 39.0.2171.43
Oct 29, 2014
5a29759
Incrementing VERSION to 39.0.2171.44
Oct 29, 2014
2ea8b16
[Android] Add ScrollView to DateTimePicker
Oct 29, 2014
a355368
[chromedriver] Accept short git hashes Blink revisions
samuong Oct 29, 2014
00f8767
Fix first page of app list not rendering in RTL.
nik3daz Oct 29, 2014
2c541af
Merge to 2171: Don't set CollectionItemInfo fields for headings.
minorninth Oct 29, 2014
6585af2
Merge "kiosk: Defer usb update UI until a manifest is found."
Oct 29, 2014
a01d4b8
Merge "easy-signin: Defer service shutdown until login screen is dism…
Oct 29, 2014
46e66b9
merge to 2171: "mac: Fix bug where finder window extends past bottom …
erikchen Oct 29, 2014
22c4fa8
cc: Merge two patches to fix solid color layer memory usage.
vmpstr Oct 29, 2014
b9359ab
Incrementing VERSION to 39.0.2171.45
Oct 29, 2014
65e912e
Fix VPN dropdown menu in Settings (Merge to 2171)
stevenjb Oct 29, 2014
e60962c
Fix nameserver logic, remove reconnect request (Merge to 2171)
stevenjb Oct 29, 2014
8eb9a64
Fix 'Automatic name servers' display in Settings' (Merge to 2171)
stevenjb Oct 29, 2014
9e20ad5
Sync: Avoid deadlock in SyncBackendRegistrar / ModelSafeWorker on syn…
Oct 29, 2014
f7c8e05
Incrementing VERSION to 39.0.2171.46
Oct 30, 2014
e1a2411
Merge Reland "Clear user session flags before restarting Chrome for g…
Oct 30, 2014
7f9ad85
Merge Revert of https://codereview.chromium.org/602863002 to fix regr…
vitalybuka Oct 30, 2014
848bdc1
Correct style ranges on text eliding instead of clearing them
Oct 30, 2014
7245a54
[Sync] Fix bug where DeviceInfo is missing a backup timestamp
Oct 30, 2014
047c3fc
Merge to M39: Add extra checks to avoid integer overflow.
jrummell-chromium Oct 30, 2014
86a52ac
Incrementing VERSION to 39.0.2171.47
Oct 31, 2014
07e6b6b
Revert "[Sync] Fix bug where DeviceInfo is missing a backup timestamp"
Oct 31, 2014
41a3ca7
Use the data reduction proxy info only if not direct
Oct 31, 2014
6e11d0f
cc: Damage the viewport and UpdateTiles when pinch ends.
danakj Oct 31, 2014
9929eff
Override IsRedirectResponse in extension protocols
Rob--W Oct 31, 2014
c662c88
[Sync] Fix bug where DeviceInfo is missing a backup timestamp
Oct 31, 2014
970a853
cc: Translate the canvas to correctly detect solid colors
vmpstr Oct 31, 2014
c130d99
cc: Fix compile error.
vmpstr Oct 31, 2014
a84bed0
Complete disable of SDCH on iOS.
rdsmith Oct 31, 2014
15b7eb1
[M39] Domain Reliability: Remove redirector.gvt1.com; update BUILD.gn
Oct 31, 2014
93871b1
Incrementing VERSION to 39.0.2171.48
Nov 1, 2014
6f32699
Update Smart lock strings in chrome://settings.
Nov 1, 2014
1d3bb06
Update permissions for Smart Lock setup app.
Nov 1, 2014
edb155a
Incrementing VERSION to 39.0.2171.49
Nov 2, 2014
ca369ca
Incrementing VERSION to 39.0.2171.50
Nov 3, 2014
85481da
Remove component apps that should not used in the kiosk-mode.
hirono-chromium Nov 3, 2014
c06a416
With this CL, the time for PepperVideoSourceHost::SendGetFrameReply d…
henrikand Nov 3, 2014
43b5d40
[Mac] Shut down connections to WindowServer before engaging the sandbox.
rsesek Nov 3, 2014
dc68369
Fix system freeze in accessibility focus ring code.
minorninth Nov 3, 2014
d926ad8
Send metadata change to renderer after decoder is drained
Nov 3, 2014
8b8b284
cc: UpdateTiles when CanHaveTilings change
Nov 3, 2014
2049137
Merge "Fix OSX 10.6 fullscreen crash." to 2171.
erikchen Nov 3, 2014
d6d32eb
Fix extensions NSS/BoringSSL dependencies
davidben Nov 3, 2014
ca150d8
Apply scroll and scale delta values to client even if root layer is N…
Nov 3, 2014
b6a5b52
Revert "Apply scroll and scale delta values to client even if root la…
Nov 3, 2014
1f1325d
Exclude zip-file loading from "Load Unpacked Extension"
Nov 3, 2014
2a6f5f7
Apply scroll and scale delta values to client even if root layer is N…
Nov 3, 2014
cc29e53
Build fix for previous patch
Nov 3, 2014
7d4afad
[M39 merge] Pass device_id/device_type to web flow token approval url.
Nov 3, 2014
8f512d3
Incrementing VERSION to 39.0.2171.51
Nov 3, 2014
c6c65f3
[M39 merge] Make ContentVideoView accept application contexts.
igsolla-xx Nov 4, 2014
9fd5600
Remove Extra call to CloseProcessHandle
Nov 4, 2014
8d53428
Add wajam_goblin.dll and wajam_goblin_64.dll to Chrome's blacklist.
Nov 4, 2014
d3d4f07
Remove Galaxy Core and Galaxy Win from Ganesh whitelist.
alexelias Nov 4, 2014
ab335b2
Fix issue with DOM Distiller viewer when renderer goes away.
tommynyquist Nov 4, 2014
8398e5c
Merge to branch 2171: [Password Autofill] Disable one click popup on …
Nov 4, 2014
8fa2784
Merge [Easy Unlock] Update handling of the trial easy unlock/signin run
Nov 4, 2014
1b7b3e3
Merge Easy Unlock Show connecting user pod icon when waking up from s…
Nov 4, 2014
c5e962f
Don't let input buffer overwhelm output buffer
Nov 4, 2014
ebc4959
Incrementing VERSION to 39.0.2171.52
Nov 4, 2014
41ba1e9
Allow *.googleapis.com to be used in CSP
Rob--W Nov 4, 2014
d833a9d
Restore "caps lock" keyboard settings dropdown.
Nov 4, 2014
e00002d
Incrementing VERSION to 39.0.2171.53
Nov 5, 2014
3747c32
Merge to 2171/M39: Hide focus ring when ChromeVox is unloaded.
minorninth Nov 5, 2014
e05ef94
MIX: Merging two patches back to 2171.
mikewest Nov 5, 2014
1d2a435
Fix title alignment bug in App Info dialog
Nov 5, 2014
b164ea3
Clear the bluetooth discoverable bit when OOBE is finished on Remora.
Nov 5, 2014
431891d
AppCacheUpdateJob allows data reduction proxy bypass redirects
Nov 5, 2014
836f698
cc: Handle GrContext::wrapBackendTexture failures properly.
reveman-chromium Nov 5, 2014
a3c63a5
Fix the hotrod active audio node selection issue caused by the change…
Nov 6, 2014
7ee4f7e
Reauthenticate the user before launching Smart Lock setup app.
Nov 6, 2014
0eac804
Revert "cc: Handle GrContext::wrapBackendTexture failures properly."
reveman-chromium Nov 6, 2014
4e2f764
Incrementing VERSION to 39.0.2171.54
Nov 6, 2014
3dc25ab
cc: Handle GrContext::wrapBackendTexture failures properly.
reveman-chromium Nov 6, 2014
2de21c3
[Merge] [Mac] Tabbing through the new avatar menu items shouldn't nee…
notwaldorf Nov 6, 2014
ea37b45
Fix double subtraction of sent_delta on sync tree activation.
Nov 7, 2014
a7b9bf7
Incrementing VERSION to 39.0.2171.55
Nov 7, 2014
577ab0c
Revert "Fix double subtraction of sent_delta on sync tree activation."
Nov 7, 2014
197fa1f
Fix double subtraction of sent_delta on sync tree activation.
Nov 7, 2014
2463664
Fix for compile break
Nov 7, 2014
d23ffbd
Fix compile error in M39 branch.
Nov 7, 2014
d57d467
Add Spdy4Experiment group.
Nov 7, 2014
b620c3c
Update extension preference API.
Nov 7, 2014
aee613c
Exclude en_001 from the avaialble locales
jungshik Nov 7, 2014
657464b
Listen to Off The Record profiles in ContentSettingsHandler.
scheib Nov 8, 2014
9656f31
Merge: [Android] When the default search provider changes, reload exi…
kmadhusu Nov 8, 2014
8b635f8
Incrementing VERSION to 39.0.2171.56
Nov 8, 2014
07620c3
Correct manual proxy selection for WebSockets.
ricea Nov 8, 2014
7cb8fd7
Merge "Check NULL for WebContents and RenderProcessHost in memory-int…
wangxianzhu Nov 8, 2014
d711015
Incrementing VERSION to 39.0.2171.57
Nov 9, 2014
f248382
Record tab switch latench UMA histograms and update histograms.xml fo…
Nov 9, 2014
b07ed88
Incrementing VERSION to 39.0.2171.58
Nov 10, 2014
061e7c2
Added UMA statistics for Chrome Cleaner.
Nov 10, 2014
55880ec
fix a bug in which padding was not added to retransmission of crypto …
rch-chromium-org Nov 10, 2014
159589b
Reset accessibility if it gets out of sync.
Nov 10, 2014
f4f3107
Fix JS errors for Cellular
stevenjb Nov 10, 2014
aff2022
Merge "easy-signin: Use ExtendedAuthenticator for unlock."
Nov 10, 2014
a789bc3
Fix build breakage.
Nov 10, 2014
3b0c3a3
fixing CrOS link disambiguation disable
Nov 10, 2014
13bde0d
Refresh Public Suffix List to the latest version
sleevi Nov 10, 2014
891f05c
Check window still exists before closing, after processing beforeunlo…
Nov 10, 2014
c40748f
Updating XTBs based on .GRDs from branch 2171
Nov 10, 2014
f2b9c18
Incrementing VERSION to 39.0.2171.59
Nov 10, 2014
b3eff71
Move ReportMetrics out of PluginInfoMessageFilter class to anonymous …
wfh-chromium Nov 10, 2014
40ff9e6
Fix ToolbarActionView state
Rob--W Nov 10, 2014
8d74619
Update plugin metadata for Win to latest available versions.
wfh-chromium Nov 10, 2014
f158bf0
Merge "Fix crash in chrome.browser.openTab"
Nov 10, 2014
4d4f60e
Disable H/W H.264 decoding for media::H264PROFILE_HIGH profile videos.
Nov 10, 2014
3af4cfe
Incrementing VERSION to 39.0.2171.60
Nov 11, 2014
6919459
[Merge] Cancel uninstall if the uninstall dialog's parent window is d…
Nov 11, 2014
44e65b1
Merge "easy-unlock: Update notification and bubble."
Nov 11, 2014
8295513
Fix browser_test compile break on beta builders due to https://codere…
Nov 11, 2014
62deed9
Fix regression where extension action icons may not be displayed prop…
rdcronin Nov 11, 2014
b7a87de
Merge "easy-unlock: Show initial spinner earlier."
Nov 11, 2014
9c68f22
Fix content scaling bug on Mac
ccameron-chromium Nov 11, 2014
a20d6f5
suppress link disambiguation popup when virtual keyboard requested
Nov 11, 2014
0566d52
Merge to M-39 2171: Support vertical centering of multi-line labels.
Nov 11, 2014
a1ea10e
Check alternate desktop before applying integrity label
jschuh Nov 11, 2014
925a622
fix build breakage
Nov 11, 2014
0292d6f
Incrementing VERSION to 39.0.2171.61
Nov 11, 2014
8189f30
Use original profile for Settings popups
stevenjb Nov 12, 2014
ad61ea4
Ensure that the recovery directory is created before moving the recov…
Nov 12, 2014
6ac5b3b
Incrementing VERSION to 39.0.2171.62
Nov 12, 2014
f7560a8
Publish DEPS for Chromium 39.0.2171.62
Nov 12, 2014
70b2772
Add xwalk path to git ignore list
May 3, 2013
7d5d43b
.gitignore: Ignore ozone/.
Feb 27, 2014
b1077ee
Also need to set aura::Window title
Jul 18, 2013
c4a53d5
Aura: fix the touch event doesn't work on Tizen 3.0 issue.
huningxin Jul 18, 2013
71925f8
[Tizen] Change Sandbox IPC process title.
ds-hwang Aug 30, 2013
9af4a8b
[Android] Extend android install timeout to 5 minutes for testing
Sep 11, 2013
afb6b30
[Android] When running android test, try killing adb if no devices found
Sep 11, 2013
1cec8d1
[Tizen] Change scrollbar animator
Nov 6, 2013
2597d1b
Introduce OS_TIZEN and set specific settings for Tizen platforms
kenchris Nov 7, 2013
5d289dc
Add GetFieldID functing to jni_help in the content for XWalk.
junmin-zhu Nov 17, 2013
3600ec6
[SysApps] Expose ffmpeg function signatures needed by Device Capabili…
Nov 26, 2013
5429292
Fix default min-layout width and scrollbar appearence.
kenchris Dec 5, 2013
801bdbf
[Tizen] Use Tizen system location provider for geolocation subsystem
Dec 9, 2013
c35a435
[Android] Use application context for shared pref's creation
Dec 18, 2013
0a2eb56
[SysApps] Make CodecIDToAudioCodec and CodecIDToVideoCodec available …
Dec 20, 2013
a1f61bc
[Views] Customize _NET_WM_PID for X11 window backing a Widget
cmarcelo Jan 9, 2014
9aac0db
[Android] Use the Chromium TLS for thread local storage allocation
Jan 15, 2014
55ae62c
[Views] Fix compiler initialization order errors.
Feb 10, 2014
dff1dd2
[Android] Allow intercepter to extract paks
Feb 28, 2014
e0b18dd
[Android] Turn on WebNotification runtime feature on Android
Jan 14, 2014
9132a4f
[Tizen] Enable geolocation for Tizen
Feb 25, 2014
44cc4ed
[Tizen] Hard code for va driver
Mar 10, 2014
5d7f44a
[Android] Change the API for ApplicationStatus in base dir.
Apr 1, 2014
d4dfae9
[Temp] Add support to provide external ozone files in views.
kalyankondapally Mar 5, 2014
51c6e0e
[Android] Add a new API to simulate activity started on ApplicationSt…
kurli Apr 8, 2014
e7301b8
[Tizen IVI] Make HTML5 full screen API work on IVI.
Feb 25, 2014
f1c8e81
[Android] Address Context leak in ResourceExtractor
Apr 14, 2014
b81407e
[Android] Ignore status from non tracked activities
kurli Apr 16, 2014
9c92182
[Tizen] Enable media auto play
qjia7 Apr 22, 2014
3d07c7a
[Android] Add Resource loading filter for MediaPlayer
xingnan Feb 7, 2014
201a90d
[Extensions] Build glib message pump on Ozone
Jun 9, 2014
a2f75f0
[Tizen] Enable blink::OrientationEvent by default
Jun 13, 2014
e74bd15
[Extensions] Build glib message pump on Ozone
Jun 9, 2014
4c8cfda
[Android] Fix the crash of GetUserMedia
xingnan Jun 19, 2014
871cb25
[Android] Add a new listener to listen the first rendered frame
kurli Jul 7, 2014
9f8a221
Provide a ScreenOrientationDispatcherHost getter.
Jul 7, 2014
5388993
[Temp][Tizen] Temporarily remove ozone dependency for gl
qjia7 Jul 28, 2014
f622ae2
[Android] Use TextureView as an alternative compositing surface target
Aug 12, 2014
ddff1c7
[Android] Only initialize ContentReadbackHandler in onNativeLibraryLo…
Aug 15, 2014
b816c7a
Introduce vaLockBuffer APIs in libva.
shaochangbin Sep 5, 2014
66ff52d
[Tizen] Add Tizen Murphy resource policy daemon integration
Sep 11, 2014
e3c81dc
[Tizen] Make content fit to the viewport
Sep 24, 2014
62069f2
[Temp] Backport https://codereview.chromium.org/560553007 from upstream
darktears Sep 29, 2014
8fb2e13
[Tizen][Temp] Allow a different ScreenOrientationProvider to be set.
Oct 1, 2014
4267f4f
[Temp] Apply ozone-wayland's 0008-Fix-crash-when-switching-to-console…
Oct 1, 2014
9fab180
.gitignore: Ignore src/third_party/khronos/CL.
Oct 7, 2014
b23b60d
.gitignore: Ignore src/third_party/webcl.
junmin-zhu Oct 8, 2014
9a2c042
[Backport] Start server thread in new TestWebServer.start() method ra…
Oct 2, 2014
317f278
[Backport] Allow forcing TestWebServer to use a specific port number.
Oct 17, 2014
35b73bc
[TIZEN] Set app ID and media class properties for the audio streams.
Nov 5, 2014
2d50c47
Revert Tizen changes to support changing the system location provider.
Nov 28, 2014
abbaeb8
Merge pull request #214 from rakuco/revert-tizen-geolocation-changes
Nov 28, 2014
17ac09e
Fix GPU process crash
Nov 28, 2014
ea46c0b
Merge pull request #215 from pozdnyakov/XWALK_2789
Nov 28, 2014
d8e4b4e
Add support for file-picker
Jun 17, 2014
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
832 changes: 832 additions & 0 deletions .DEPS.git

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ v8.log
/net/testserver.log
/out
/out_*
/ozone
/ppapi/native_client/nacl_irt.xml
/ppapi/native_client/ppapi_lib.xml
/ppapi/native_client/src/shared/ppapi_proxy/nacl_ppapi_browser.xml
Expand Down Expand Up @@ -268,6 +269,7 @@ v8.log
/third_party/jsoncpp/source
/third_party/jsr-305/src
/third_party/junit/src
/third_party/khronos/CL
/third_party/leveldatabase/src
/third_party/leveldb
/third_party/libaddressinput/src
Expand Down Expand Up @@ -323,7 +325,6 @@ v8.log
/third_party/skia
/third_party/smhasher
/third_party/snappy/src
/third_party/speex
/third_party/swiftshader/include/
/third_party/swig
/third_party/syzygy
Expand All @@ -336,6 +337,7 @@ v8.log
/third_party/v8-i18n
/third_party/valgrind
/third_party/v4l2capture
/third_party/webcl
/third_party/webdriver/pylib
/third_party/webdriver/python/selenium
/third_party/webgl
Expand Down Expand Up @@ -392,3 +394,4 @@ v8.log
/win8/metro_driver/metro_driver_version_resources.xml
/x86-generic_out/
/xcodebuild
/xwalk
1,508 changes: 708 additions & 800 deletions DEPS

Large diffs are not rendered by default.

23 changes: 21 additions & 2 deletions android_webview/browser/aw_browser_context.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#include "components/data_reduction_proxy/browser/data_reduction_proxy_params.h"
#include "components/data_reduction_proxy/browser/data_reduction_proxy_prefs.h"
#include "components/data_reduction_proxy/browser/data_reduction_proxy_settings.h"
#include "components/data_reduction_proxy/browser/data_reduction_proxy_statistics_prefs.h"
#include "components/user_prefs/user_prefs.h"
#include "components/visitedlink/browser/visitedlink_master.h"
#include "content/public/browser/browser_thread.h"
Expand Down Expand Up @@ -94,6 +95,10 @@ void AwBrowserContext::SetDataReductionProxyEnabled(bool enabled) {
context->GetDataReductionProxySettings();
if (proxy_settings == NULL)
return;

context->CreateDataReductionProxyStatisticsIfNecessary();
proxy_settings->SetDataReductionProxyStatisticsPrefs(
context->data_reduction_proxy_statistics_.get());
proxy_settings->SetDataReductionProxyEnabled(data_reduction_proxy_enabled_);
}

Expand Down Expand Up @@ -213,8 +218,7 @@ void AwBrowserContext::CreateUserPrefServiceIfNecessary() {
user_pref_service_.get(),
GetRequestContext());

data_reduction_proxy_settings_->SetDataReductionProxyEnabled(
data_reduction_proxy_enabled_);
SetDataReductionProxyEnabled(data_reduction_proxy_enabled_);
}
}

Expand Down Expand Up @@ -294,4 +298,19 @@ void AwBrowserContext::RebuildTable(
enumerator->OnComplete(true);
}

void AwBrowserContext::CreateDataReductionProxyStatisticsIfNecessary() {
DCHECK(user_pref_service_.get());

if (!data_reduction_proxy_statistics_.get()) {
// We don't care about commit_delay for now. It is just a dummy value.
base::TimeDelta commit_delay = base::TimeDelta::FromMinutes(60);
data_reduction_proxy_statistics_ =
scoped_ptr<data_reduction_proxy::DataReductionProxyStatisticsPrefs>(
new data_reduction_proxy::DataReductionProxyStatisticsPrefs(
user_pref_service_.get(),
base::MessageLoopProxy::current(),
commit_delay));
}
}

} // namespace android_webview
4 changes: 4 additions & 0 deletions android_webview/browser/aw_browser_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class WebContents;
namespace data_reduction_proxy {
class DataReductionProxyConfigurator;
class DataReductionProxySettings;
class DataReductionProxyStatisticsPrefs;
}

namespace net {
Expand Down Expand Up @@ -116,6 +117,7 @@ class AwBrowserContext : public content::BrowserContext,
const scoped_refptr<URLEnumerator>& enumerator) OVERRIDE;

private:
void CreateDataReductionProxyStatisticsIfNecessary();
static bool data_reduction_proxy_enabled_;

// The file path where data for this context is persisted.
Expand All @@ -136,6 +138,8 @@ class AwBrowserContext : public content::BrowserContext,

scoped_ptr<data_reduction_proxy::DataReductionProxyConfigurator>
data_reduction_proxy_configurator_;
scoped_ptr<data_reduction_proxy::DataReductionProxyStatisticsPrefs>
data_reduction_proxy_statistics_;
scoped_ptr<data_reduction_proxy::DataReductionProxySettings>
data_reduction_proxy_settings_;

Expand Down
Loading