Граф коммитов

106 Коммитов

Автор SHA1 Сообщение Дата
ricea 59a46f765b stale-while-revalidate experimental implementation.
Simplistic implementation of stale-while-revalidate. See design doc at
https://docs.google.com/document/d/1DMCIMAKjyKeYiu69jlI5OsO2pGyAMb81XflYK4hxsNM/edit?usp=sharing

This implementation has known flaws:
1. Set-Cookie, Strict-Transport-Security and Public-Key-Pins headers
are lost from the responses of asynchronous revalidations.
2. Conditional requests sent from the Blink cache do not have the
stale-while-revalidate logic applied to them.
3. Support for the bandwidth reduction proxy is hacky.

It will be replaced with a better implementation if/when the concept is proven.

BUG=348877
TEST=net_unittests

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

Cr-Original-Commit-Position: refs/heads/master@{#298649}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 64c07d7959386d30a0e4aa1371e2bdcd3d436476
2014-10-08 03:37:20 +00:00
rsleevi 7ae86e4fa9 Mark SHA-1 as deprecated
BUG=401365

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

Cr-Original-Commit-Position: refs/heads/master@{#297331}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4f80127285b5be9265ad96ce9b118e414107815a
2014-09-30 01:28:23 +00:00
sdefresne 6692450cb4 Remove unused variable ios_mac_build
The variable is set in this file but there is no other references to
it in the code base.

BUG=None

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

Cr-Original-Commit-Position: refs/heads/master@{#294847}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0478f24c7e4602da7bcb317eabfa863467d85fbc
2014-09-15 17:50:21 +00:00
rouslan a2a21d853e Add back organization field for autofill settings.
BUG=402207

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

Cr-Original-Commit-Position: refs/heads/master@{#291599}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a4da60be1f888567e523ef389c51c4556f600999
2014-08-23 22:02:39 +00:00
rdsmith@chromium.org 176141331c Shift the error page "More" button over to text and float to side.
Note that this also involved copying neterror.css/js over to 
chrome/browser/resources/ssl so as to break the dependency between 
blocking.html in that directory and the css/js files in 
chrome/renderer/resources.  That copy means that, while I'm going 
through presubmit errors before uploading, I"m not fixing them all--
there are pre-existing errors in neterror.css that I don't have the 
expertise to fix.

BUG=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@287538 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-05 14:35:25 +00:00
rouslan@chromium.org b3fbfbcfa0 Reland "Use upstream libaddressinput in Chrome."
Fix the merge conflict and reland http://crrev.com/282726, which was
reverted in http://crrev.com/282732.

TBR=estade@chromium.org,thestig@chromium.org,groby@chromium.org
BUG=389918

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@282842 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-12 23:02:20 +00:00
rsleevi@chromium.org 799df8c0f3 Revert 282726 "Reland "Use upstream libaddressinput in Chrome.""
Reverted for merge conflict

> Reland "Use upstream libaddressinput in Chrome."
> 
> Remove static initializer and reland https://crrev.com/282408 which was
> reverted in https://crrev.com/282426.
> 
> TBR=estade@chromium.org,thestig@chromium.org
> BUG=389918
> 
> Review URL: https://codereview.chromium.org/386873002

TBR=rouslan@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@282732 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-11 23:34:57 +00:00
rouslan@chromium.org 406ebe99a2 Reland "Use upstream libaddressinput in Chrome."
Remove static initializer and reland https://crrev.com/282408 which was
reverted in https://crrev.com/282426.

TBR=estade@chromium.org,thestig@chromium.org
BUG=389918

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@282726 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-11 23:18:33 +00:00
scherkus@chromium.org 1a414bd10a Revert 282408 "Use upstream libaddressinput in Chrome."
Introduced static initializers into chrome binary:
preload_supplier.cc _GLOBAL__sub_I_preload_supplier.cc+0xa
preload_supplier.cc i18n::addressinput::StringCompare::StringCompare()
preload_supplier.cc __cxa_atexit@plt [registers a dtor to run at exit]

Run ./tools/linux/dump-static-initializers.py before re-landing to
verify they're no longer present.

> Use upstream libaddressinput in Chrome.
> 
> Most of the changes are mechanical switches from chromium/ to src/
> directory in third_party/libadressinput/.
> 
> To simplify the switch, autofill::AddressValidator is a shim between
> Chromium and i18n::addressinput::AddressValidator. The shim behaves the
> same way as Chromium's version of libaddressinput. The goal is to
> gradually remove the shim and make Chromium work directly with
> libaddressinupt.
> 
> Upstream libaddressinput does not include suggestions, which now can be
> found in third_party/libadressinput/chromium/input_suggester.{h,cc}.
> 
> A follow up patch will remove Chromium's version of libaddressinput.
> 
> BUG=327046
> 
> Review URL: https://codereview.chromium.org/298863012

TBR=rouslan@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@282426 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-10 21:09:11 +00:00
rouslan@chromium.org d212112f63 Use upstream libaddressinput in Chrome.
Most of the changes are mechanical switches from chromium/ to src/
directory in third_party/libadressinput/.

To simplify the switch, autofill::AddressValidator is a shim between
Chromium and i18n::addressinput::AddressValidator. The shim behaves the
same way as Chromium's version of libaddressinput. The goal is to
gradually remove the shim and make Chromium work directly with
libaddressinupt.

Upstream libaddressinput does not include suggestions, which now can be
found in third_party/libadressinput/chromium/input_suggester.{h,cc}.

A follow up patch will remove Chromium's version of libaddressinput.

BUG=327046

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@282408 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-10 20:04:42 +00:00
vollick@chromium.org 2d996797e1 Remove the "universal" accel. overflow scroll flags
They're not used anymore.

R=abarth@chromium.org
BUG=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@278039 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-18 11:50:25 +00:00
kaliamoorthi@chromium.org b94f18f3bf Enable policy support for registering protocol handler.
The CL adds a new policy for registering protocol handlers.

BUG=116119

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@277475 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-16 17:24:13 +00:00
blundell@chromium.org cd82cd82b8 Componentize GoogleURLTracker(InfoBarDelegate,MapEntry,NavHelper)
This CL moves GoogleURLTracker and associated friends to the Google component.
It additionally moves strings that GoogleURLTrackerInfoBarDelegate into
components_strings.grd (via google_strings.grdp).

Dependencies of this code on google_util are temporarily punched through the
embedder, as google_util will require more time to componentize. Once
google_util is componentized, the indirection through the embedder will be
removed.

BUG=373209,373222
TBR=thakis, cbentzel

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@275743 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-08 11:47:58 +00:00
rlarocque@chromium.org 7fea32ea0b sync: Add UI code for per type debug counters
Adds a new tab to the about:sync page to display the latest per-type
counters.  These counters will eventually replace the StatusControllers
that contain much of the same information.

This includes some changes to the C++ SyncInternalsMessageHandler to
register to observe these counters as well as some new WebUI to display
them.

There is a known bug in this code.  The StausCounter update logic has
not been implemented yet, so the item counts will always be zero.  This
will be fixed in a future CL.

BUG=349301

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@274348 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-02 22:16:07 +00:00
droger@chromium.org c7146bce8b Move TranslateInfoBarDelegate and OptionsMenuModel to the Translate component.
To solve the dependency on chrome_command_ids, this CL removes the
IDC_OPTIONS_TRANSLATE_* constants and instead defines the command IDs
locally in the file, which is an approach already used at several other places in
the code.

To solve the dependency on themes, the icon ID for the translate infobar is no
longer hardcoded, but fetched from the translate client instead.

BUG=371845
TBR=estade, joaodasilva

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@274252 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-02 16:01:29 +00:00
joaodasilva@chromium.org 6c6a431af1 Enable the ManagedBookmarks policy on all platforms.
This CL makes a couple more changes to accomodate for the implementation
of this policy:

- moved the kManagedBookmarks pref into the bookmarks component, so that
it can be referred to from there;

- moved the strings for the managed bookmarks folder name for the same
reasons;

- updated the policy schema to support child bookmarks;

- updated the ManagedBookmarksPolicyHandler to use the schema validation
code, and added a new unit test for that.

TBR=nyquist@chromium.org
BUG=49598

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@274124 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-01 17:16:28 +00:00
jbroman@chromium.org fc55cdf0fd Remove Chromium plumbing for fixed-position-creates-stacking-context
This is a no-op since over a month ago:
https://codereview.chromium.org/206463009/

So it's probably safe to remove the Chromium code which plumbs
this preference around before Blink drops it on the floor.

After this lands, WebSettings::setFixedPositionCreatesStackingContext
can be removed entirely.

BUG=354688

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@273045 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-27 21:52:51 +00:00
tfarina@chromium.org 4ae9da5ac7 infobars: Componentize ConfirmInfoBarDelegate.
Changes:

1- Change it to use ui_strings.h
2- Use IDS_APP_OK and IDS_APP_CANCEL from ui_strings.
3- Move to components/infobars/core from chrome/browser/infobars (done
with tools/git/move_source_file.py).

BUG=373234
TEST=chrome still links and run fine.
R=droger@chromium.org, pkasting@chromium.org
TBR=ben # for trivial chrome/ changes

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@272036 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-22 00:53:12 +00:00
yfriedman@chromium.org ac248bb968 [dom_distiller] Add support for incremental viewer.
The viewed page can now be rendered all at once, or with a single page
update, followed by additional page content sent via HTML. While more
pages are loading, a progress indicator is present.

The title for a page was added to DistilledPageProto so its accessible
during partial distillation. This was already stored in
DistilledPageData so it's just moved.

BUG=319881

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270622 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-15 08:03:22 +00:00
thestig@chromium.org 1c8a2c8303 Cleanup: Remove more unused entries from the iOS grit whitelist.
Remove resources that have no other users.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270316 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-14 03:08:06 +00:00
sungmann.cho@navercorp.com c112ad7d22 Remove --apps-new-install-bubble command line switch.
BUG=357776

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269734 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-12 01:47:21 +00:00
thestig@chromium.org aed7631df9 Cleanup: Remove iOS grit whitelist entries that refer to non-existent resources.
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269625 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-10 19:57:47 +00:00
hans@chromium.org efe4ddb1a0 Start removing support for the experimental x-webkit-speech API
The API has been considered deprecated for some time, and was disabled
in https://src.chromium.org/viewvc/blink?revision=171373&view=revision

BUG=223198
TBR=jam@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@267937 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-02 22:05:41 +00:00
mathp@chromium.org 98d8617806 [Suggestions] Add a flag for the Suggestions Service.
Add an entry in about flags to facilitate turning on the Suggestions service.

BUG=366263

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@266086 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-25 02:24:46 +00:00
mlerman@chromium.org 3d3dec1aee Newly created profiles should have the grey silhouette as avatar.
The name should still be automatically generated.

Also, all the avatar icons are becoming squares (31x38 -> 38x38). New resources will be committed and necessary code changes have been made.


BUG=337986
TEST=When creating a new profile from anywhere except the settings. Also, verify avatar icons are still rendered correctly, whether GAIA, the placeholder or a cartoon icon.
page, the automatically assigned avatar should the grey
placeholder (silhouette).

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=263262

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@265645 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-23 15:34:26 +00:00
rdsmith@chromium.org 3086c46c5e Added "load stale" IDS grit variables to IOS whitelist.
Needed for http://codereview.chromium.org/207553008 (r264696) to 
build on IOS.

BUG=329621
R=rohitrao@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@264963 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-21 03:21:19 +00:00
rohitrao@chromium.org e404e198d5 Remove desktop auto-login since we don't plan on shipping it.
Removes the --enable-autologin switch and associated settings UI.  Autologin is
always enabled for Android builds.  Moves the Android-specific AutoLoginPrompter
class into an android/ directory.

iOS also uses the AutoLoginInfoBarDelegate, so that class is left where it is.

BUG=347214

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@264818 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-18 18:21:25 +00:00
tnagel@chromium.org cb300637f0 Rename IDS ids to be more consistent in ui_strings.grd.
This fixes the awkward sorting in grit_whitelist.txt and had been suggested by
Bartosz some time ago.

BUG=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@264312 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-16 21:39:27 +00:00
nyquist@chromium.org 4fede01bae Move helper utilities for the DOM Distiller Viewer to core.
This CL moves the logic for creating HTML content, and retrieving resources
from the content/ subfolder of the component to core/.

It also provides a helper method for calling the right method on the
DomDistillerService based on a URL.

BUG=319881
TBR=jochen@chromium.org
TBR=jshin@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@263511 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-12 10:45:51 +00:00
viettrungluu@chromium.org 77b0f97802 Revert 263262 "Newly created profiles should have the grey silho..."
Adds static initializers. See:
http://build.chromium.org/p/chromium/builders/Linux%20x64/builds/63585

# profile_avatar_icon_util.cc profiles::kNoHighResAvatar
# profile_avatar_icon_util.cc profiles::kDefaultAvatarIconResourceFileNames+0xd0

> Newly created profiles should have the grey silhouette as avatar.
> The name should still be automatically generated.
> 
> Also, all the avatar icons are becoming squares (31x38 -> 38x38). New resources will be committed and necessary code changes have been made.
> 
> 
> BUG=337986
> TEST=When creating a new profile from anywhere except the settings. Also, verify avatar icons are still rendered correctly, whether GAIA, the placeholder or a cartoon icon.
> page, the automatically assigned avatar should the grey
> placeholder (silhouette).
> 
> Review URL: https://codereview.chromium.org/212603011

TBR=mlerman@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@263284 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-11 18:11:26 +00:00
mlerman@chromium.org 8bceaab6b6 Newly created profiles should have the grey silhouette as avatar.
The name should still be automatically generated.

Also, all the avatar icons are becoming squares (31x38 -> 38x38). New resources will be committed and necessary code changes have been made.


BUG=337986
TEST=When creating a new profile from anywhere except the settings. Also, verify avatar icons are still rendered correctly, whether GAIA, the placeholder or a cartoon icon.
page, the automatically assigned avatar should the grey
placeholder (silhouette).

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@263262 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-11 16:51:28 +00:00
erikchen@chromium.org b5dcb1611b Add bookmark undo manager commands to the ios grit whitelist.
This is in preparation for bringing the bookmark undo manager to ios.

BUG=NONE

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@262802 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-09 20:41:47 +00:00
rlarocque@chromium.org 8b359c7f55 sync: Remove TrafficRecorder
The new protocol events framework handles all the use cases of the
TrafficRecorder, and more.  The traffic recorder implementation and about:sync
tab are now redundant.

BUG=357821

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@261032 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-02 01:48:06 +00:00
mnissler@chromium.org fa6ab81e20 Add error message for domain mismatch on re-enrollment.
This error shows up if the server indicates to the client that
enrollment got rejected due to the device belonging do a different
domain (as indicated by the client-provided state key).

BUG=chromium:357207
TEST=Manual, check that the error message shows up on domain mismatch.
R=asvitkine@chromium.org, dpolukhin@chromium.org, joaodasilva@chromium.org

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=260102

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@260216 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-28 18:44:20 +00:00
mnissler@chromium.org a5d6ba7778 Revert "Add error message for domain mismatch on re-enrollment."
This reverts
https://src.chromium.org/viewvc/chrome?view=rev&revision=260102

It seems to have caused android build breakage:

http://build.chromium.org/p/chromium.linux/buildstatus?builder=Android%20Tests%20%28dbg%29&number=19481

BUG=chromium:357207
TEST=None
TBR=mnissler@chromium.org
NOTRY=true
NOTREECHECKS=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@260110 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-28 12:26:56 +00:00
mnissler@chromium.org 1d53d00c56 Add error message for domain mismatch on re-enrollment.
This error shows up if the server indicates to the client that
enrollment got rejected due to the device belonging do a different
domain (as indicated by the client-provided state key).

BUG=chromium:357207
TEST=Manual, check that the error message shows up on domain mismatch.
R=asvitkine@chromium.org, dpolukhin@chromium.org, joaodasilva@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@260102 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-28 11:13:52 +00:00
senorblanco@chromium.org 33f8909045 Remove --enable-accelerated-filters flag.
Remove this flag from command-line and chrome://flags. This code path
is old and busted, now that we have the new hotness of
--enable-deferred-filters.

BUG=196562
R=avi@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258400 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-20 20:47:16 +00:00
derat@chromium.org d50a85a30d chromeos: Delete old, unused contacts code.
This never got turned on.

BUG=350213
TBR=darin@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257754 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-18 21:13:13 +00:00
joaodasilva@chromium.org f82bc3d94f Moved the ManagedBookmarksPolicyHandler to a shared file.
This change allows reusing that policy handler on iOS too. The strings used
by this handler are also included on iOS builds now.

BUG=349983

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@256922 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-13 20:45:28 +00:00
jvoung@chromium.org 385d121916 Add flag to avoid blocking the PNaCl translator when chrome NaCl GDB flag is on.
Augment the NaCl GDB mask to avoid blocking the PNaCl
translator in addition to secure shell. Make this the
default.

This has the side-effect of identifying the translator as
separate from the application in chrome's task manager,
since the "url" is changed for these helper NaCl modules
from the application manifest to something
like chrome://pnacl-translator/x86-64/pnacl-llc.nexe.

BUG= https://code.google.com/p/nativeclient/issues/detail?id=3765

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@255543 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-07 08:33:09 +00:00
nyquist@chromium.org ae669febff Add support for distilling arbitrary URLs in DOM Distiller Viewer.
This adds support for requesting to view arbitrary URLs in the DOM
Distiller viewer. Previously, an entry first had to be added to the
list of articles.

Also fixes the CSP for the viewer to be in the correct format.

BUG=319881
TBR=rsleevi@chromium.org,joi@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@254458 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-03 12:30:52 +00:00
tnagel@chromium.org 70c046cb02 Add support for localized time strings with two units, eg. "2 hours 17 minutes"
At that occasion, replace five existing formatting functions for one-unit time strings by a single consistent interface with the aim to make time formatting functions easier to use by highlighting the availability of different formatting options.

Also at that occasion, rename IDS_TIME_DURATION_LONG* to IDS_TIME_LONG* to be more consistent with other IDS_TIME* ids.

BUG=339835
TEST=full unit test coverage
TBR=oshima@chromium.org (for resolution_notification_controller.cc)
TBR=jennyz@chromium.org (for ash/system)
TBR=asanka@chromium.org (for download_item_model.cc)
TBR=tim@chromium.org (for profile_sync_service.cc)
TBR=xiyuan@chromium.org (for imageburner_ui.cc)
TBR=estade@chromium.org (for foreign_session_handler.cc, policy_ui.cc)

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@253830 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-27 15:32:23 +00:00
tnagel@chromium.org 83e2c71292 Add context to "file must be sorted" error message in ios/PRESUBMIT.py
BUG=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@251664 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-17 12:19:37 +00:00
piman@chromium.org 5d7fbef8ad Remove Tabpose feature on mac, and supporting infrastructure (PaintAtSize)
Tabpose has been behind a flag for 3 years, and UMA shows usage is very low.
It is the unique user of the RenderWidgetSnapshotTaker, and the only user of
RWH::PaintAtSize, which we want to remove.

XIB changes:
* Remove Tabpose menu entry "Show Tab Overview..."

BUG=251960, 223336
R=cevans@chromium.org, jamesr@chromium.org, sky@chromium.org, viettrungluu@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@251439 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-14 23:45:22 +00:00
tnagel@chromium.org 94abda0347 Use "second" instead of "sec" in TimeRemainingLong()
This makes more sense, also it is consistent with
TimeDurationLong().

At that occasion, fix bad grammar in ui_strings.grd.

Unit testing is provisional and will be adjusted once
https://codereview.chromium.org/139413005/ has landed.

BUG=340113
TEST=full unit test coverage

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@249335 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-06 10:31:44 +00:00
binjin@chromium.org 4cd29b4c98 Add support for schema validate error to PolicyErrorMap
BUG=258339

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@249005 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-05 15:32:10 +00:00
atwilson@chromium.org f602fc7a55 Added support for signed policy blobs on desktop.
PolicyFetchRequests on desktop now request signed policy blobs. Also added
plumbing for injecting a google-supplied key to verify the blob signing keys to
protect against local tampering.

BUG=275291
TBR=joaodasilva@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@248416 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-02 17:28:39 +00:00
joaodasilva@chromium.org 1aa4bf1317 More fixes to enable ios build with policy.
This change fixes //chrome code that breaks when built with policy enabled
on ios.

BUG=275292

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@246375 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-22 18:25:42 +00:00
joaodasilva@chromium.org b49a7d47c4 Enable building with configuration_policy==1 on ios.
BUG=275292

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@245521 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-17 14:55:40 +00:00
rlarocque@chromium.org a62b078c01 sync: Remove some WebUI debug functions
This CL removes a number of functions from the sync debugging framework
in order to prepare for some upcoming changes to sync debugging (due to
328606).

This CL removes the following functions:
- GetRootNodeDetails
- GetNodeSummaries
- GetNodeDetails
- GetChildNodeIds

It also adds the function 'getListOfKnownTypes' to help replace some old
functionality required by the 'data' tab and to fix issue 329013.
Rather than having that tab fetch a list of children of the root node,
it now asks for a list of all known data types.  This is a better
solution, since it does not require sync to be fully initialized in
order to properly populate the set of checkboxes.

The most significant user of the removed functionality is the node
browser.  Its javascript code has been modified in order to transition
it to relying on the getAllNodes function.  Rather than fetching node
data on demand by a series of asynchronous callbacks, the tab now
fetches a list of all known sync nodes at once.  This has the advantage
of providing a more consistent (though more stale) snapshot.  This CL
adds a refresh button to the node browser tab in order to give users
some control over its staleness.

This change had some minor side-effects.  The node browser now relies on
items' string-based IDs rather than their metahandles when determining
the nodes' hierarchy.  We've also had to add a 'positionIndex' field to
the output of getAllNodes to make it easier for the node browser to sort
its entries.  In part to make it easier to fetch this field, most of the
code associated with getAllNodes has been moved into the
syncable::Directory.

In addition to all these changes, this CL adds some webui tests to help
prevent regressions in about:sync functionality.  For now, they only
cover the node browser.  More tests will be added in future CLs.

BUG=110517,329013,328606

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@245313 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-16 20:59:01 +00:00