1. 11 Jan, 2017 40 commits
    • aazzam's avatar
      Implements CSSPropertyAPI for the flex-basis property. · 06d4b710
      aazzam authored
      A part of Project Ribbon, separating the parsing logic for CSS
      properties from the parser into an API. This patch removes
      CSSPropertyFlexBasis from the switch statement in parseSingleValue,
      and calls the API instead.
      
      A function pointer to the parseSingleValue function from the API for the
      page property is stored in a CSSPropertyDescriptor, and is called from
      CSSPropertyParser.
      
      This patch:
      - Adds CSSPropertyAPIFlexBasis.cpp to the BUILD.gn file.
      - Adds api_class flag to CSSProperties.in, which indicates that
        CSSPropertyAPIFlexBasis.h is generated.
      - Moves the parsing logic for page from CSSPropertyParser.cpp to
        CSSPropertyAPIFlexBasis.cpp, which implements CSSPropertyAPI.h.
      
      BUG=668012
      
      Review-Url: https://codereview.chromium.org/2613843002
      Cr-Commit-Position: refs/heads/master@{#442815}
      06d4b710
    • aazzam's avatar
      Implements CSSPropertyAPI for the font-size-adjust property. · 7995bd56
      aazzam authored
      A part of Project Ribbon, separating the parsing logic for CSS
      properties from the parser into an API. This patch removes
      CSSPropertyFontSizeAdjust from the switch statement in
      parseSingleValue, and calls the API instead.
      
      A function pointer to the parseSingleValue function from the API for the
      page property is stored in a CSSPropertyDescriptor, and is called from
      CSSPropertyParser.
      
      This patch:
      - Adds CSSPropertyAPIFontSizeAdjust.cpp to the BUILD.gn file.
      - Adds api_class flag to CSSProperties.in, which indicates that
        CSSPropertyAPIFontSizeAdjust.h is generated.
      - Moves the parsing logic for page from CSSPropertyParser.cpp to
        CSSPropertyAPIFontSizeAdjust.cpp, which implements
        CSSPropertyAPI.h.
      
      BUG=668012
      
      Review-Url: https://codereview.chromium.org/2617443005
      Cr-Commit-Position: refs/heads/master@{#442814}
      7995bd56
    • horo's avatar
      Use WebURLResponse to pass the navigation preload response from SWContextClient to FetchEvent. · b9937a42
      horo authored
      Currently we use WebServiceWorkerResponse to pass the navigation preload
      response from ServiceWorkerContextClient::NavigationPreloadRequest to FetchEvent.
      
      But to show the network timing information in DevTool's network tab, we need
      the timing information in ResourceResponseInfo in blnik side. So this cl change
      the code to use WebURLResponse which contains the timing information.
      
      BUG=649558
      
      Review-Url: https://codereview.chromium.org/2618313003
      Cr-Commit-Position: refs/heads/master@{#442813}
      b9937a42
    • aazzam's avatar
      Implements CSSPropertyAPI for the column-gap property. · 07f3c988
      aazzam authored
      A part of Project Ribbon, separating the parsing logic for CSS
      properties from the parser into an API. This patch removes
      CSSPropertyColumnGap from the switch statement in parseSingleValue,
      and calls the API instead.
      
      A function pointer to the parseSingleValue function from the API for the
      page property is stored in a CSSPropertyDescriptor, and is called from
      CSSPropertyParser.
      
      This patch:
      - Adds CSSPropertyAPIColumnGap.cpp to the BUILD.gn file.
      - Adds api_class flag to CSSProperties.in, which indicates that
        CSSPropertyAPIColumnGap.h is generated.
      - Moves the parsing logic for page from CSSPropertyParser.cpp to
        CSSPropertyAPIColumnGap.cpp, which implements CSSPropertyAPI.h.
      
      BUG=668012
      
      Review-Url: https://codereview.chromium.org/2609933004
      Cr-Commit-Position: refs/heads/master@{#442812}
      07f3c988
    • sashab's avatar
      Move LocalDomWindow unusedPreloadsTimer to TaskRunnerTimer · 8405306d
      sashab authored
      Move LocalDomWindow unusedPreloadsTimer to TaskRunnerTimer, which
      associates it wuith the frame's timer task queue.
      
      BUG=624694
      
      Review-Url: https://codereview.chromium.org/2625953002
      Cr-Commit-Position: refs/heads/master@{#442811}
      8405306d
    • aazzam's avatar
      Implements CSSPropertyAPI for the clip property. · 3f6fb5a1
      aazzam authored
      A part of Project Ribbon, separating the parsing logic for CSS
      properties from the parser into an API. This patch removes
      CSSPropertyClip from the switch statement in parseSingleValue,
      and calls the API instead.
      
      A function pointer to the parseSingleValue function from the API for the
      page property is stored in a CSSPropertyDescriptor, and is called from
      CSSPropertyParser.
      
      This patch:
      - Adds CSSPropertyAPIClip.cpp to the BUILD.gn file.
      - Adds api_class flag to CSSProperties.in, which indicates that
        CSSPropertyAPIClip.h is generated.
      - Moves the parsing logic for page from CSSPropertyParser.cpp to
        CSSPropertyAPIClip.cpp, which implements CSSPropertyAPI.h.
      
      BUG=668012
      
      Review-Url: https://codereview.chromium.org/2614783003
      Cr-Commit-Position: refs/heads/master@{#442810}
      3f6fb5a1
    • ericwilligers's avatar
      CSS Transitions: avoid flakes in cancel-transition.html · f6772d3d
      ericwilligers authored
      We avoid timing dependence by rAF looping until the animation is in
      progress.
      
      BUG=248938
      
      Review-Url: https://codereview.chromium.org/2621603002
      Cr-Commit-Position: refs/heads/master@{#442809}
      f6772d3d
    • napper's avatar
      Made -webkit-rtl-ordering property independent. · a22b359a
      napper authored
      Made -webkit-rtl-ordering property independent. Also updated
      independent-inheritance-fast-path.html to include webkitRtlOrdering.
      
      Tested using independent-inheritance-fast-path.html.
      
      BUG=628043
      
      Review-Url: https://codereview.chromium.org/2626893002
      Cr-Commit-Position: refs/heads/master@{#442808}
      a22b359a
    • aazzam's avatar
      Implements CSSPropertyAPI for the caret-color property. · 5238291d
      aazzam authored
      A part of Project Ribbon, separating the parsing logic for CSS
      properties from the parser into an API. This patch removes
      CSSPropertyCaretColor from the switch statement in parseSingleValue,
      and calls the API instead.
      
      A function pointer to the parseSingleValue function from the API for the
      page property is stored in a CSSPropertyDescriptor, and is called from
      CSSPropertyParser.
      
      This patch:
      - Adds CSSPropertyAPICaretColor.cpp to the BUILD.gn file.
      - Adds api_class flag to CSSProperties.in, which indicates that
        CSSPropertyAPICaretColor.h is generated.
      - Moves the parsing logic for page from CSSPropertyParser.cpp to
        CSSPropertyAPICaretColor.cpp, which implements CSSPropertyAPI.h.
      
      BUG=668012
      
      Review-Url: https://codereview.chromium.org/2618613002
      Cr-Commit-Position: refs/heads/master@{#442807}
      5238291d
    • dbeam's avatar
      web_dev_style: Only run HTMLChecker on .html files · f8619fba
      dbeam authored
      R=tsergeant@chromium.org
      BUG=679973
      
      Review-Url: https://codereview.chromium.org/2624873003
      Cr-Commit-Position: refs/heads/master@{#442806}
      f8619fba
    • meredithl's avatar
      Refactor blacklist client into own .h/.cc. · 397bca88
      meredithl authored
      The size of the Safe Browsing client class was getting to be too large
      to be contained entirely within PermissionContextBase, so it has been
      moved to its own header and implementation.
      
      Test coverage is supplied in permission_context_base_unitttest.cc, but
      there will be follow up unit tests for this class.
      
      BUG=561867
      
      Review-Url: https://codereview.chromium.org/2626853002
      Cr-Commit-Position: refs/heads/master@{#442805}
      397bca88
    • fmalita's avatar
      Disable LCD text in drag images · ae554451
      fmalita authored
      Since we don't know know whether the drag image is going to have an
      opaque backdrop, disable LCD text conservatively.
      
      This was previously handled by SkPictureImageGenerator, internally, but
      broke in http://crrev.com/2619573002.
      
      BUG=679307
      R=reed@google.com
      
      Review-Url: https://codereview.chromium.org/2625803002
      Cr-Commit-Position: refs/heads/master@{#442804}
      ae554451
    • xlai's avatar
      Linear filter for texture object in 2d context · 7a66a412
      xlai authored
      This is a temporary fix to enforce linear filter for texture object
      in OffscreenCanvasRenderingContext2D in commit(). An ideal solution, which is
      not urgent for OffscreenCanvas launch, is to adapt the filter to respect
      image-rendering CSS property, as indicated in crbug.com/645590.
      
      BUG=676666
      CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel
      
      Review-Url: https://codereview.chromium.org/2607373002
      Cr-Commit-Position: refs/heads/master@{#442803}
      7a66a412
    • estade's avatar
      Fix typo from crrev.com/01876af8 · e233068c
      estade authored
      BUG=679660
      
      Review-Url: https://codereview.chromium.org/2624973002
      Cr-Commit-Position: refs/heads/master@{#442802}
      e233068c
    • suzyh's avatar
      Remove most content from Interpolation · 28c35097
      suzyh authored
      The majority of the data and logic in the Interpolation base class is only
      required for the LegacyStyleInterpolation subclass, and is ignored or
      overwritten for InvalidatableInterpolation. This patch moves this data and logic
      down the hierarchy into LegacyStyleInterpolation.
      
      As additional consequences:
      - SampleInterpolation classes defined in tests inherit from
        LegacyStyleInterpolation instead of the Interpolation base class
      - getCachedValueForTesting is made pure virtual, requiring a placeholder
        implementation to be added to InvalidatableInterpolation, although this is not
        called anywhere
      
      BUG=678875
      
      Review-Url: https://codereview.chromium.org/2619173002
      Cr-Commit-Position: refs/heads/master@{#442801}
      28c35097
    • yhirano's avatar
      Fix a crash of SRI when used with web workers · 65f4db51
      yhirano authored
      SubresourceIntegrity::CheckSubresourceIntegrity expects a non-null Document
      which doesn't exist in workers. This CL replaces Document with
      ExecutionContext.
      
      BUG=678515
      R=jochen@chromium.org
      
      Review-Url: https://codereview.chromium.org/2614813004
      Cr-Commit-Position: refs/heads/master@{#442800}
      65f4db51
    • tkent's avatar
      LayoutTheme: Invalidate cache on WebThemeEngine change. · b554c05a
      tkent authored
      A LayoutThemeDefault instance can be associated to a real
      WebThemeEngine or a mock WebThemeEngine, which have different
      metrics. We need to invalidate a cached value when a WebThemeEngine is
      switched.
      
      The bug affects only layout tests.
      
      BUG=673754
      
      Review-Url: https://codereview.chromium.org/2627773002
      Cr-Commit-Position: refs/heads/master@{#442799}
      b554c05a
    • allada's avatar
      [Devtools] Fixes screencast when devtools is screencasting · 275b25d4
      allada authored
      This patch fixed a bug when devtools is scaled it causes some backend
      errors to occur due to expecting an integer instead of float.
      
      R=dgozman
      BUG=679268
      
      Review-Url: https://codereview.chromium.org/2622633006
      Cr-Commit-Position: refs/heads/master@{#442798}
      275b25d4
    • raymes's avatar
      Add raymes to permissions WATCHLIST · 18e32149
      raymes authored
      Review-Url: https://codereview.chromium.org/2623153002
      Cr-Commit-Position: refs/heads/master@{#442797}
      18e32149
    • chfremer's avatar
      Reland2 [Mojo Video Capture] Replace method OnIncomingCapturedVideoFrame()... · 690089d3
      chfremer authored
      Reland2 [Mojo Video Capture] Replace method OnIncomingCapturedVideoFrame() with OnIncomingCapturedBufferExt()
      
      PatchSet#1 is the state as previously reviewed, landed, and reverted.
      PatchSet#2 is the fix for the caused issue.
      
      Description of issue and fix:
      
      The original CL caused crbug.com/678766.
      Method OnIncomingCapturedBufferExt() unwrapped |memory_handle| and passed it
      to |frame|. However, |frame| did not take ownership, resulting in
      |memory_handle| never getting closed.
      Since the memory handle inside |frame| is not being used downstream anyway,
      the fix is to use a NULLHandle() instead of unwrapping and attaching ownership.
      
      Description of original CL:
      
      In interface media:VideoCaptureDevice::Client, replaced the method
      OnIncomingCapturedVideoFrame() with OnIncomingCapturedBufferExt(). Compared to
      method OnIncomingCaptureBuffer(), the VideoFrame parameter in
      OnIncomingCapturedVideoFrame() was only used for passing along a bit of extra
      information, namely a custom |visible_rect| as well as some
      |additional_metadata|. The new method makes the intent clear and eliminates the
      need for passing a media::VideoFrame that is partly redundant with the also
      passed media::VideoCaptureDevice::Client::Buffer.
      
      This CL breaks the video_capture_unittests, because current implementation of
      the video_capture service wants to use VideoCaptureDeviceClient with buffers
      that are backed by MojoSharedMemoryBufferTracker instances instead of the
      "regular" shared memory buffers. With this CL, VideoCaptureDeviceClient is
      dropping support for this. We are working towards making the video_capture
      service work with the regular buffers. To keep CLs small, we defer changes
      to the service to after refactorings of VideoCaptureController and
      VideoCaptureManager are complete and deactive the video_capture_unittests
      temporarily. This is acceptable for the time being, since they are not run on
      the bots yet. The CL that re-enables them is currently labeled CL1.9.22 in the
      design doc.
      
      This CL is part of the Mojo Video Capture work. For the bigger picture,
      see [1] CL1.9.9
      
      BUG=584797
      TEST=
        content_unittests --gtest_filter="*Video*",
        video_capture_unittests,
        Apprtc loopback on Debug,
        Desktop Capture Example extension on Release
      
      [1] https://docs.google.com/a/chromium.org/document/d/1Qw7rw1AJy0QHXjha36jZNiEuxsxWslJ_X-zpOhijvI8/edit?usp=sharing
      
      Committed: https://crrev.com/fc2e2a6f6597cf6582673572bbf22268e445dac0
      Cr-Original-Commit-Position: refs/heads/master@{#441391}
      Review-Url: https://codereview.chromium.org/2621743002
      Cr-Commit-Position: refs/heads/master@{#442796}
      690089d3
    • tommycli's avatar
      MD Settings People: Fix ChromeOS Change Picture arrow keys · 6b13e1b5
      tommycli authored
      The arrow keys now actually select the newly highlighted picture.
      
      BUG=668416
      CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
      
      Review-Url: https://codereview.chromium.org/2623993002
      Cr-Commit-Position: refs/heads/master@{#442795}
      6b13e1b5
    • tkent's avatar
      Improve performance of HTMLElement::attributeChanged. · ca7cf349
      tkent authored
      Call adjustedFocusedElementInTreeScope() only if the modified attribute can
      affect focusability.
      
      BUG=677446
      
      Review-Url: https://codereview.chromium.org/2625903002
      Cr-Commit-Position: refs/heads/master@{#442794}
      ca7cf349
    • dougt's avatar
      Remove unused service instance id from bluetooth BluetoothRemoteGATTCharacteristic · 31a3f755
      dougt authored
      Since fixing bug 676702 and 597053, we no longer need the string
      BluetoothRemoteGATTCharacteristic::m_serviceInstanceId.
      
      R=juncai
      
      BUG=None
      
      Review-Url: https://codereview.chromium.org/2624823002
      Cr-Commit-Position: refs/heads/master@{#442793}
      31a3f755
    • gogerald's avatar
      Add compareBoolean for consistence · 8455c912
      gogerald authored
      BUG=675686
      
      Review-Url: https://codereview.chromium.org/2628463005
      Cr-Commit-Position: refs/heads/master@{#442792}
      8455c912
    • tzik's avatar
      Make WebTaskRunner ThreadSafeRefCounted · 4dbdb0dd
      tzik authored
      This CL makes WebTaskRunner ThreadSafeRefCounted, and update all user to
      use RefPtr<WebTaskRunner> instead of raw pointers or std::unique_ptr.
      In public/platform, WebTaskRunner is passed as a raw pointer to avoid
      using WTF there.
      
      CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
      
      Review-Url: https://codereview.chromium.org/2550373005
      Cr-Commit-Position: refs/heads/master@{#442791}
      4dbdb0dd
    • sadrul's avatar
      content: Change how a bad message from a child is logged. · 73f39a66
      sadrul authored
      Instead of always logging the message ID, log a custom error string.
      This is necessary for when the messages are converted to mojo messages,
      where the messages do not have a corresponding ID.
      
      BUG=643746
      
      Review-Url: https://codereview.chromium.org/2624613003
      Cr-Commit-Position: refs/heads/master@{#442790}
      73f39a66
    • dcastagna's avatar
      Roll src/third_party/minigbm 71db2b55..682d73bd. · ef384367
      dcastagna authored
      git log 71db2b55..682d73bd --date=short --no-merges --format='%ad %ae %s'
      2016-12-27 gurchetansingh@chromium.org minigbm: cros_gralloc: don't fail BO_USE_SW_*_OFTEN | BO_USE_RENDERING allocation
      2016-09-06 hoegsberg@chromium.org rockchip: Add support for AFBC buffers
      2016-12-21 henryhsu@chromium.org minigbm: fix size_t type not found
      2016-12-19 gurchetansingh@chromium.org minigbm: consolidate flags
      2016-12-14 gurchetansingh@chromium.org minigbm: tegra: add blocklinear detiling logic
      2016-12-16 dcastagna@chromium.org minigbm: Remove (c) from copyright notice.
      
      BUG=chrome-os-partner:56407
      
      Review-Url: https://codereview.chromium.org/2624863002
      Cr-Commit-Position: refs/heads/master@{#442789}
      ef384367
    • kinaba's avatar
      Remove bogus format specifier "%s" in logging in BuildInfo.java. · 04a7d729
      kinaba authored
      android.util.Log does not take formatted string (the third argument is
      a fixed overload taking a Throwable object), so currently the bare "%s"
      is emit to the log. Let's drop it.
      
      BUG=none
      
      Review-Url: https://codereview.chromium.org/2620843003
      Cr-Commit-Position: refs/heads/master@{#442788}
      04a7d729
    • chrome-cron's avatar
      Updating trunk VERSION from 2978.0 to 2979.0 · e42a5efa
      chrome-cron authored
      Cr-Commit-Position: refs/heads/master@{#442787}
      e42a5efa
    • wangxianzhu's avatar
      Update chromium.perf*.json after removing of blink_perf.*_slimmingpaintinvalidatin · 44b086a2
      wangxianzhu authored
      Auto generated by //tools/perf/generate_perf_json.py.
      
      TBR=eyaich@chromium.org
      
      Review-Url: https://codereview.chromium.org/2624963002
      Cr-Commit-Position: refs/heads/master@{#442786}
      44b086a2
    • reed's avatar
      remove unneeded include, plus SkDraw.h is going private · 2c7d29a1
      reed authored
      will enable https://skia-review.googlesource.com/c/6845/
      
      BUG=
      
      Review-Url: https://codereview.chromium.org/2623913002
      Cr-Commit-Position: refs/heads/master@{#442785}
      2c7d29a1
    • azurewei's avatar
      Add metric to track buttons clicked in IME menu tray. · 19203f95
      azurewei authored
      Add an enum histogram "InputMethod.ImeMenu.EmojiHandwritingVoiceButton"
      to track the number of times users click emoji, handwriting or voice
      button in opt-in IME menu.
      
      The enum value represents:
      1: Emoji
      2: Handwriting
      3: Voice
      
      BUG=676798
      TEST=None
      
      Review-Url: https://codereview.chromium.org/2600173002
      Cr-Commit-Position: refs/heads/master@{#442784}
      19203f95
    • jeffcarp's avatar
      [WPT Export] Clean up TODOs · 995f87df
      jeffcarp authored
      BUG=657117
      R=qyearsley@chromium.org
      
      Review-Url: https://codereview.chromium.org/2622033002
      Cr-Commit-Position: refs/heads/master@{#442783}
      995f87df
    • ssid's avatar
      Revert of Add LevelDB database names to tracing path for easier debugging... · c5f7441b
      ssid authored
      Revert of Add LevelDB database names to tracing path for easier debugging (patchset #2 id:40001 of https://codereview.chromium.org/2399903004/ )
      
      Reason for revert:
      We identified the largest consumer of memory in leveldb_proto databases and fixed it crbug.com/662019.
      It is not safe to add dumps with database names since new clients of leveldb_proto might not update the whitelist and we will miss the memory usage.
      
      Original issue's description:
      > Add LevelDB database names to tracing path for easier debugging
      >
      > The data from field trials show large databases, but not sure what are
      > their names. So, adding names to the path.
      >
      > BUG=645126
      >
      > Committed: https://crrev.com/279f8d702e8b2fffda1b7f50b311c5202331e121
      > Cr-Commit-Position: refs/heads/master@{#424055}
      
      TBR=primiano@chromium.org,nyquist@chromium.org,mathp@chromium.org
      # Not skipping CQ checks because original CL landed more than 1 days ago.
      BUG=645126
      
      Review-Url: https://codereview.chromium.org/2601233002
      Cr-Commit-Position: refs/heads/master@{#442782}
      c5f7441b
    • caseq's avatar
      Fix front-end host creation upon navigation · c2db8815
      caseq authored
      - when navigating, add host bindings to the pending frame rather than old frame;
      - force renderer swap if front-end URL is invalid;
      - move front-end URL validation to DevToolsUIBindingds
      
      This also re-lands https://codereview.chromium.org/2607833002
      
      BUG=662859,678035
      
      Review-Url: https://codereview.chromium.org/2620153002
      Cr-Commit-Position: refs/heads/master@{#442781}
      c2db8815
    • jialiul's avatar
      Address 2 crashes in download attribution code. · d1bf4b96
      jialiul authored
      crbug.com/676675
      Out of memory crash caused by memory alloc inside vector::push_back().
      Since vector grows its internal buffer following some kind of geometric
      progression, it makes more sense to keep pointers inside the vector
      instead of actual objects.  Therefore, change the
      vector<ReferrerChainEntry> into vector<unique_ptr<ReferrerChainEntry>>.
      This will help with the memory allocation inside push_back() function.
      
      crbug.com/679252
      Add additional check on the return of FindNavigationEvent() function to
      make suer it is valid.
      
      BUG=676675,679252
      
      Review-Url: https://codereview.chromium.org/2624463003
      Cr-Commit-Position: refs/heads/master@{#442780}
      d1bf4b96
    • tapted's avatar
      PageInfo bubble: Use the non-client view's window title and close button. · 37240b4f
      tapted authored
      Currently it sets a custom close button which is different to the other
      Harmony dialogs.
      
      To keep items aligned, use the standard panel margins from
      ui/views/layout_constants.h. (13px rather than 16px). This makes the
      panel slightly more narrow.
      
      BUG=640851, 674269
      
      Review-Url: https://codereview.chromium.org/2581493002
      Cr-Commit-Position: refs/heads/master@{#442779}
      37240b4f
    • chrishtr's avatar
      Return the enclosing composited PaintLayer rather than containingBlock for floats. · e00ffecc
      chrishtr authored
      A previous patch failed to return the composited PaintLayer, which is what
      GraphicsLayerUpdater expected.
      
      BUG=679667
      CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
      
      Review-Url: https://codereview.chromium.org/2624843002
      Cr-Commit-Position: refs/heads/master@{#442778}
      e00ffecc
    • ssid's avatar
      [memory-infra] Make thread check at unregistration stricter for new dump providers · e45198cf
      ssid authored
      This CL makes the check for unregistering dump providers on right thread
      stricter by checking even if tracing is not enabled. This is made
      stricter only for new dump providers while the existing ones (except few
      which are verified correct) are added to a blacklist which does not hit
      this check. In next CLs this blacklist will be cleared not to cause
      flakiness on the bots with lots of dump providers failing.
      
      BUG=643438
      
      Review-Url: https://codereview.chromium.org/2592233002
      Cr-Commit-Position: refs/heads/master@{#442777}
      e45198cf
    • jam's avatar
      Cleanup of static lists of schemes & origins that are created at startup. · e0dcd98d
      jam authored
      This in preparation for using this method to grab other schemes that we need to now share across the browser and renderer for PlzNavigate. This change does:
      -combines AddAdditionalSchemes/AddSecureSchemesAndOrigins/AddServiceWorkerSchemes
      -standardizes on std::string
      
      BUG=627502
      
      Review-Url: https://codereview.chromium.org/2622693002
      Cr-Commit-Position: refs/heads/master@{#442776}
      e0dcd98d