1. 23 Dec, 2014 29 commits
    • rlp's avatar
      [Hotword] Don't show hotword options if search provider is not Google. · 7b4f8bba
      rlp authored
      This CL moves the search provider check into the function which
      determines how to display hotwording. Prior to this, it was only being
      updated when the search provider was changed and other javascript could
      come along and re-show the hotword section (even though it was now
      supposed to be hidden). Now every time the hotwording should be
      displayed, the search provider is checked beforehand. This is the
      logically correct way to do it.
      
      BUG=442938
      
      Review URL: https://codereview.chromium.org/815683003
      
      Cr-Commit-Position: refs/heads/master@{#309522}
      7b4f8bba
    • changwan's avatar
      Upstream more layers, decoration title, layer_title_cache · 7f84b4cf
      changwan authored
      BUG=426119, 437750
      
      Review URL: https://codereview.chromium.org/787023002
      
      Cr-Commit-Position: refs/heads/master@{#309521}
      7f84b4cf
    • dcheng's avatar
      Standardize usage of virtual/override/final specifiers in cc/. · 93a52eb4
      dcheng authored
      The Google C++ style guide states:
      
        Explicitly annotate overrides of virtual functions or virtual
        destructors with an override or (less frequently) final specifier.
        Older (pre-C++11) code will use the virtual keyword as an inferior
        alternative annotation. For clarity, use exactly one of override,
        final, or virtual when declaring an override.
      
      To better conform to these guidelines, the following constructs have
      been rewritten:
      
      - if a base class has a virtual destructor, then:
          virtual ~Foo();                   ->  ~Foo() override;
      - virtual void Foo() override;        ->  void Foo() override;
      - virtual void Foo() override final;  ->  void Foo() final;
      
      This patch was automatically generated. The clang plugin can generate
      fixit hints, which are suggested edits when it is 100% sure it knows how
      to fix a problem. The hints from the clang plugin were applied to the
      source tree using the tool in https://codereview.chromium.org/598073004.
      
      Several formatting edits by clang-format were manually reverted, due to
      mangling of some of the more complicate IPC macros.
      
      BUG=417463
      
      Review URL: https://codereview.chromium.org/818033004
      
      Cr-Commit-Position: refs/heads/master@{#309520}
      93a52eb4
    • benwells's avatar
      Revert of Clean up Smart Lock cryptohome keys logic: (patchset #5 id:80001 of... · 8ffa00af
      benwells authored
      Revert of Clean up Smart Lock cryptohome keys logic: (patchset #5 id:80001 of https://codereview.chromium.org/808563004/)
      
      Reason for revert:
      Once this change landed chromeos file manager tests started failing across the MSAN bots.
      
      This is the most likely culprit, so reverting speculatively. If this does not help will reland this change.
      
      See http://build.chromium.org/p/chromium.memory.fyi/builders/Linux%20ChromeOS%20MSan%20Browser%20%282%29/builds/139
      
      Original issue's description:
      > Clean up Smart Lock cryptohome keys logic:
      >
      > 1. Queue all cryptohome keys operations.
      > 2. Roll ClearRemoteDevices as a specific case of SetRemoteDevices
      > 3. Introduce new RefreshKeys operation using the existing add and remove keys
      >    operations to replace the current cryptohome keys with new keys.
      > 4. After reauthenticating for setup, remove the old cryptohome keys.
      >
      > BUG=432996
      >
      > Committed: https://crrev.com/275152c34d8edc5346757288cfffe63444650faa
      > Cr-Commit-Position: refs/heads/master@{#309094}
      
      TBR=tbarzic@chromium.org,xiyuan@chromium.org,tengs@chromium.org
      NOTREECHECKS=true
      NOTRY=true
      BUG=432996
      
      Review URL: https://codereview.chromium.org/789793005
      
      Cr-Commit-Position: refs/heads/master@{#309519}
      8ffa00af
    • dcheng's avatar
      Standardize usage of virtual/override/final specifiers in sandbox/. · afe7eaff
      dcheng authored
      The Google C++ style guide states:
      
        Explicitly annotate overrides of virtual functions or virtual
        destructors with an override or (less frequently) final specifier.
        Older (pre-C++11) code will use the virtual keyword as an inferior
        alternative annotation. For clarity, use exactly one of override,
        final, or virtual when declaring an override.
      
      To better conform to these guidelines, the following constructs have
      been rewritten:
      
      - if a base class has a virtual destructor, then:
          virtual ~Foo();                   ->  ~Foo() override;
      - virtual void Foo() override;        ->  void Foo() override;
      - virtual void Foo() override final;  ->  void Foo() final;
      
      This patch was automatically generated. The clang plugin can generate
      fixit hints, which are suggested edits when it is 100% sure it knows how
      to fix a problem. The hints from the clang plugin were applied to the
      source tree using the tool in https://codereview.chromium.org/598073004.
      
      Several formatting edits by clang-format were manually reverted, due to
      mangling of some of the more complicate IPC macros.
      
      BUG=417463
      
      Review URL: https://codereview.chromium.org/824683003
      
      Cr-Commit-Position: refs/heads/master@{#309518}
      afe7eaff
    • sashab's avatar
      Removed duplicate code from Socket permission messages · 2915a685
      sashab authored
      Removed the permission message generating code that was duplicated
      across SocketPermission and SocketManifestPermission and combined it
      into a single static function in SocketManifestPermission.
      
      Based on crrev.com/795543002.
      
      BUG=398257
      
      Review URL: https://codereview.chromium.org/794063002
      
      Cr-Commit-Position: refs/heads/master@{#309517}
      2915a685
    • rlp's avatar
      [Hotword] Mark notification as shown if the user updates the always on pref. · 0a001f9c
      rlp authored
      If the user updates the pref (e.g., via chrome://settings) then they
      presumably already know about always on hotwording so there's no reason to
      annoy them with a notification. This CL adds a pref registrar observer
      to the always on pref and when it's changed, marks the notification as seen
      and then removes the observer.
      
      This will only work for new users since once they have the always on pref,
      this observer will get hit on switching between profiles, but presumably
      once they have the always on pref, it means they enabled it or disabled it
      at some point.
      
      BUG=443805
      
      Review URL: https://codereview.chromium.org/815223003
      
      Cr-Commit-Position: refs/heads/master@{#309516}
      0a001f9c
    • thakis's avatar
      Simplify observer_list_threadsafe.h using a variadic template. · 662b3e43
      thakis authored
      Made possible by the new Tuple implementation.
      No intended behavior change.
      
      BUG=440675
      
      Review URL: https://codereview.chromium.org/818123002
      
      Cr-Commit-Position: refs/heads/master@{#309515}
      662b3e43
    • thiago.santos's avatar
      Move system.display tests to extensions/ · 5c855a28
      thiago.santos authored
      Also copy a few helper functions from extension_function_test_utils.h to
      api_test_utils.h so we don't need to depend on chrome/. These helper
      functions are needed by tests other than the display test and will help with
      the migration.
      
      BUG=392842
      
      Review URL: https://codereview.chromium.org/779083002
      
      Cr-Commit-Position: refs/heads/master@{#309514}
      5c855a28
    • dcheng's avatar
      Standardize usage of virtual/override/final specifiers in google_apis/. · 00742d0a
      dcheng authored
      The Google C++ style guide states:
      
        Explicitly annotate overrides of virtual functions or virtual
        destructors with an override or (less frequently) final specifier.
        Older (pre-C++11) code will use the virtual keyword as an inferior
        alternative annotation. For clarity, use exactly one of override,
        final, or virtual when declaring an override.
      
      To better conform to these guidelines, the following constructs have
      been rewritten:
      
      - if a base class has a virtual destructor, then:
          virtual ~Foo();                   ->  ~Foo() override;
      - virtual void Foo() override;        ->  void Foo() override;
      - virtual void Foo() override final;  ->  void Foo() final;
      
      This patch was automatically generated. The clang plugin can generate
      fixit hints, which are suggested edits when it is 100% sure it knows how
      to fix a problem. The hints from the clang plugin were applied to the
      source tree using the tool in https://codereview.chromium.org/598073004.
      
      Several formatting edits by clang-format were manually reverted, due to
      mangling of some of the more complicate IPC macros.
      
      BUG=417463
      TBR=rogerta@chromoium.org
      
      Review URL: https://codereview.chromium.org/802413003
      
      Cr-Commit-Position: refs/heads/master@{#309513}
      00742d0a
    • raymes's avatar
      Add PostMessage support for MimeHandlerView · 19c1d109
      raymes authored
      This adds PostMessage support for MimeHandlerView allow sites that embed extension mime handlers to communicate with them.
      
      BUG=415858
      
      Review URL: https://codereview.chromium.org/729333002
      
      Cr-Commit-Position: refs/heads/master@{#309512}
      19c1d109
    • benwells's avatar
      Widen valgrind exclusion for AudioDirectiveHandlerList tests. · 6e473cb7
      benwells authored
      Another of these tests is now failing.
      
      TBR=ckehoe@chromium.org
      NOTRY=true
      BUG=444516
      
      Review URL: https://codereview.chromium.org/826433002
      
      Cr-Commit-Position: refs/heads/master@{#309511}
      6e473cb7
    • tfarina's avatar
      ui/base: Enable ui_java dep in the GN version ui_base target. · 84dbf33e
      tfarina authored
      ui_java target was ported in
      https://chromium.googlesource.com/chromium/src/+/26046b5fe46738a9c214a64862831e9417f27850
      by cjhopman.
      
      This patch was tested with the following command lines:
      
      $ out/Debug/gn gen out_gn/Debug/ --args='os="android" cpu_arch="arm"'
      
      $ ninja -C out_gn/Debug/ ui/base
      
      BUG=None
      TEST=see above
      TBR=sky@chromium.org,brettw@chromium.org
      
      Review URL: https://codereview.chromium.org/819233002
      
      Cr-Commit-Position: refs/heads/master@{#309510}
      84dbf33e
    • skia-deps-roller's avatar
      Roll src/third_party/skia d582cab:16c8f14 · b66b285d
      skia-deps-roller authored
      Summary of changes available at:
      https://chromium.googlesource.com/skia/+log/d582cab..16c8f14
      
      CQ_EXTRA_TRYBOTS=tryserver.blink:linux_blink_rel,linux_blink_dbg
      TBR=bungeman@google.com
      
      Review URL: https://codereview.chromium.org/819963002
      
      Cr-Commit-Position: refs/heads/master@{#309509}
      b66b285d
    • sergeyu's avatar
      Fix input injector on Linux to release all keys before injecting text event. · 90253bdd
      sergeyu authored
      When '<' and '>' Android keyboard generates KEYCODE_SHIFT_LEFT followed by
      KEYCODE_COMMA or KEYCODE_PERIOD. Android client sends shift event as a key
      event and then the actual character is sent as a text event. As result
      when the input injector tries to inject text event shift key is pressed
      and as result injected keys are not interpreted correctly. Fixed input
      injector to release all keys before trying to inject text events.
      
      BUG=407463
      
      Review URL: https://codereview.chromium.org/806223008
      
      Cr-Commit-Position: refs/heads/master@{#309508}
      90253bdd
    • blink-deps-roller's avatar
      Roll src/third_party/WebKit 55af1ae:be75b55 (svn 187627:187632) · 50987629
      blink-deps-roller authored
      Summary of changes available at:
      https://chromium.googlesource.com/chromium/blink/+log/55af1ae..be75b55
      
      TBR=haraken@chromium.org,gavinp@chromium.org
      
      Review URL: https://codereview.chromium.org/809323004
      
      Cr-Commit-Position: refs/heads/master@{#309507}
      50987629
    • dcheng's avatar
      Standardize usage of virtual/override/final specifiers in gpu/. · 083dec1a
      dcheng authored
      The Google C++ style guide states:
      
        Explicitly annotate overrides of virtual functions or virtual
        destructors with an override or (less frequently) final specifier.
        Older (pre-C++11) code will use the virtual keyword as an inferior
        alternative annotation. For clarity, use exactly one of override,
        final, or virtual when declaring an override.
      
      To better conform to these guidelines, the following constructs have
      been rewritten:
      
      - if a base class has a virtual destructor, then:
          virtual ~Foo();                   ->  ~Foo() override;
      - virtual void Foo() override;        ->  void Foo() override;
      - virtual void Foo() override final;  ->  void Foo() final;
      
      This patch was automatically generated. The clang plugin can generate
      fixit hints, which are suggested edits when it is 100% sure it knows how
      to fix a problem. The hints from the clang plugin were applied to the
      source tree using the tool in https://codereview.chromium.org/598073004.
      
      Several formatting edits by clang-format were manually reverted, due to
      mangling of some of the more complicate IPC macros.
      
      BUG=417463
      
      Review URL: https://codereview.chromium.org/817413002
      
      Cr-Commit-Position: refs/heads/master@{#309506}
      083dec1a
    • tfarina's avatar
      tools/gn: convert NULL to nullptr all over it. · 9b636af5
      tfarina authored
      nullptr is one of the C++11 allowed features. See https://chromium-cpp.appspot.com/ and https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/4mijeJHzxLg.
      
      This patch was generated with the following command lines:
      
      $ ninja -C out/Debug -t compdb cxx > out/Debug/compile_commands.json
      $ cd out/Debug
      $ find ../../tools/gn -name '*.cc'  | xargs -n 16 -P 32 \
      ~/src/repos/llvm/build/bin/clang-modernize -use-nullptr -p . -include \
      tools/gn -format -style=Chromium
      $ ninja gn gn_unittests
      
      BUG=None
      TEST=compiles + gn_unittests
      R=brettw@chromium.org
      
      Review URL: https://codereview.chromium.org/798333005
      
      Cr-Commit-Position: refs/heads/master@{#309505}
      9b636af5
    • jungjik.lee's avatar
      Reduce tile memory size · 0acd2d55
      jungjik.lee authored
      One tile memory takes 160 bytes currently.
      This patch can reduce the tile memory by removing unnecessary
      variables and packing the booleans to 144 bytes.
      
      BUG=341919
      
      Review URL: https://codereview.chromium.org/810713002
      
      Cr-Commit-Position: refs/heads/master@{#309504}
      0acd2d55
    • derekjchow's avatar
      Add time to first paint metric to CastMetricsHelper. · 0b1cb7b3
      derekjchow authored
      New metrics to record when cast_shell makes an initial paint for a
      webpage.
      
      R=gunsch@chromium.org
      BUG=
      
      Review URL: https://codereview.chromium.org/819213002
      
      Cr-Commit-Position: refs/heads/master@{#309503}
      0b1cb7b3
    • avi's avatar
      Make callers of CommandLine use it via the base:: namespace. · 429bbdd2
      avi authored
      Covers jingle/, media/, ppapi/, remoting/, rlz/, skia/, and sync/.
      
      BUG=422426
      TEST=none
      TBR=ben@chromium.org
      
      Review URL: https://codereview.chromium.org/819203002
      
      Cr-Commit-Position: refs/heads/master@{#309502}
      429bbdd2
    • tfarina's avatar
      tools/gn: Add missing template unittest entry for the GYP version. · 3a928a84
      tfarina authored
      The GN version 'gn_unittests' target has template_unittest.cc in its
      source list, but the GYP version not. This patch fixes that making them
      match.
      
      BUG=None
      TEST=gn_unittests --gtest_filter=Template*
      TBR=brettw@chromium.org
      
      Review URL: https://codereview.chromium.org/825543002
      
      Cr-Commit-Position: refs/heads/master@{#309501}
      3a928a84
    • zmo's avatar
      Run gpu/command_buffer/build_gles2_cmd_buffer.py and commit all changes. · c0df1d71
      zmo authored
      It must be some leftovers from another CL.
      
      Cleaning this up makes code reviews in gpu/command_buffer much easier.
      
      BUG=
      TEST=gpu_unittests
      R=kbr@chromium.org
      TBR=jamesr@chromium.org,bajones@chromium.org
      
      Review URL: https://codereview.chromium.org/799143003
      
      Cr-Commit-Position: refs/heads/master@{#309500}
      c0df1d71
    • dcheng's avatar
      Standardize usage of virtual/override/final specifiers in net/. · 2339883c
      dcheng authored
      The Google C++ style guide states:
      
        Explicitly annotate overrides of virtual functions or virtual
        destructors with an override or (less frequently) final specifier.
        Older (pre-C++11) code will use the virtual keyword as an inferior
        alternative annotation. For clarity, use exactly one of override,
        final, or virtual when declaring an override.
      
      To better conform to these guidelines, the following constructs have
      been rewritten:
      
      - if a base class has a virtual destructor, then:
          virtual ~Foo();                   ->  ~Foo() override;
      - virtual void Foo() override;        ->  void Foo() override;
      - virtual void Foo() override final;  ->  void Foo() final;
      
      This patch was automatically generated. The clang plugin can generate
      fixit hints, which are suggested edits when it is 100% sure it knows how
      to fix a problem. The hints from the clang plugin were applied to the
      source tree using the tool in https://codereview.chromium.org/598073004.
      
      Several formatting edits by clang-format were manually reverted, due to
      mangling of some of the more complicate IPC macros.
      
      BUG=417463
      
      Review URL: https://codereview.chromium.org/823663003
      
      Cr-Commit-Position: refs/heads/master@{#309499}
      2339883c
    • kundaji's avatar
      Check that dataReductionUpdateDailyLengths is reset. · d77dccab
      kundaji authored
      Fix data reduction proxy browser tests to check that
      dataReductionUpdateDailyLengths is reset after date lengths are updated.
      
      BUG=384394
      
      Review URL: https://codereview.chromium.org/823703002
      
      Cr-Commit-Position: refs/heads/master@{#309498}
      d77dccab
    • dcheng's avatar
      Standardize usage of virtual/override/final specifiers in content/. · 6e342bf2
      dcheng authored
      The Google C++ style guide states:
      
        Explicitly annotate overrides of virtual functions or virtual
        destructors with an override or (less frequently) final specifier.
        Older (pre-C++11) code will use the virtual keyword as an inferior
        alternative annotation. For clarity, use exactly one of override,
        final, or virtual when declaring an override.
      
      To better conform to these guidelines, the following constructs have
      been rewritten:
      
      - if a base class has a virtual destructor, then:
          virtual ~Foo();                   ->  ~Foo() override;
      - virtual void Foo() override;        ->  void Foo() override;
      - virtual void Foo() override final;  ->  void Foo() final;
      
      This patch was automatically generated. The clang plugin can generate
      fixit hints, which are suggested edits when it is 100% sure it knows how
      to fix a problem. The hints from the clang plugin were applied to the
      source tree using the tool in https://codereview.chromium.org/598073004.
      
      Several formatting edits by clang-format were manually reverted, due to
      mangling of some of the more complicate IPC macros.
      
      BUG=417463
      
      Review URL: https://codereview.chromium.org/823713002
      
      Cr-Commit-Position: refs/heads/master@{#309497}
      6e342bf2
    • avi's avatar
      Make callers of CommandLine use it via the base:: namespace. · 83883c85
      avi authored
      Covers content/.
      
      BUG=422426
      TEST=none
      TBR=ben@chromium.org
      
      Review URL: https://codereview.chromium.org/803813003
      
      Cr-Commit-Position: refs/heads/master@{#309496}
      83883c85
    • stanisc's avatar
      Enable Null Syncable ID which is different than Root ID. · 60c25aeb
      stanisc authored
      This patch prepares sync codebase for supporting datatypes with
      implicit permanent forlders by introducing an empty/unset
      syncable ID.
      There was a notion of Null ID before but it was equivalent
      to the root ID which caused some confusion in the code - a Null
      ID would sometimes be used where a "root" would be appropriate
      and vice versa.
      See the following code fragment for an example:
      // TODO(sync): We could use null here, but to ease conversion we use "r".
      // fix this, this is madness :)
      inline bool IsNull() const {
        return IsRoot();
      }
      
      This change will be followed by one or two separate changes
      that will actually remove dependencies on PARENT_ID and
      SERVER_PARENT_ID and use a different way to organize nodes
      in the directory based on node's datatype rather than parent ID.
      
      This change impacts the following:
      1) The default ID value in EntryKernel ID fields and elsewhere is
      Null ID and not Root ID as it used to be.
      2) This means that some tests that depended on Root ID being
      set implicitly
      in PARENT_ID and SERVER_PARENT_ID now need to set these IDs explicitly.
      3) Node's GetPredecessorId, GetSuccessorId, and GetFirstChildId
      methods now return a null ID rather than a root ID when there
      is no predecessor, successor, or children.
      4) Small changed throughout the code to make sure that
      null IDs and root IDs are used accordingly (now that they
      are no longer equivalent).
      5) Changed some validation methods to accept Null IDs
      to avoid large changes in the test code.
      
      BUG=438313
      
      Review URL: https://codereview.chromium.org/805633004
      
      Cr-Commit-Position: refs/heads/master@{#309495}
      60c25aeb
    • dcheng's avatar
      Standardize usage of virtual/override/final specifiers in webkit/. · 5794dbf6
      dcheng authored
      The Google C++ style guide states:
      
        Explicitly annotate overrides of virtual functions or virtual
        destructors with an override or (less frequently) final specifier.
        Older (pre-C++11) code will use the virtual keyword as an inferior
        alternative annotation. For clarity, use exactly one of override,
        final, or virtual when declaring an override.
      
      To better conform to these guidelines, the following constructs have
      been rewritten:
      
      - if a base class has a virtual destructor, then:
          virtual ~Foo();                   ->  ~Foo() override;
      - virtual void Foo() override;        ->  void Foo() override;
      - virtual void Foo() override final;  ->  void Foo() final;
      
      This patch was automatically generated. The clang plugin can generate
      fixit hints, which are suggested edits when it is 100% sure it knows how
      to fix a problem. The hints from the clang plugin were applied to the
      source tree using the tool in https://codereview.chromium.org/598073004.
      
      Several formatting edits by clang-format were manually reverted, due to
      mangling of some of the more complicate IPC macros.
      
      BUG=417463
      
      Review URL: https://codereview.chromium.org/825523002
      
      Cr-Commit-Position: refs/heads/master@{#309494}
      5794dbf6
  2. 22 Dec, 2014 11 commits
    • dcheng's avatar
      Standardize usage of virtual/override/final specifiers in apps/. · 9dcda9db
      dcheng authored
      The Google C++ style guide states:
      
        Explicitly annotate overrides of virtual functions or virtual
        destructors with an override or (less frequently) final specifier.
        Older (pre-C++11) code will use the virtual keyword as an inferior
        alternative annotation. For clarity, use exactly one of override,
        final, or virtual when declaring an override.
      
      To better conform to these guidelines, the following constructs have
      been rewritten:
      
      - if a base class has a virtual destructor, then:
          virtual ~Foo();                   ->  ~Foo() override;
      - virtual void Foo() override;        ->  void Foo() override;
      - virtual void Foo() override final;  ->  void Foo() final;
      
      This patch was automatically generated. The clang plugin can generate
      fixit hints, which are suggested edits when it is 100% sure it knows how
      to fix a problem. The hints from the clang plugin were applied to the
      source tree using the tool in https://codereview.chromium.org/598073004.
      
      Several formatting edits by clang-format were manually reverted, due to
      mangling of some of the more complicate IPC macros.
      
      BUG=417463
      
      Review URL: https://codereview.chromium.org/818113002
      
      Cr-Commit-Position: refs/heads/master@{#309493}
      9dcda9db
    • gunsch's avatar
      Chromecast on Android buildfix: don't try to create a RendererFactory. · 8fb7fbcb
      gunsch authored
      The CMA code is not linked in for Android builds.
      
      R=erickung@chromium.org
      TBR=lcwu@chromium.org
      BUG=None
      
      Review URL: https://codereview.chromium.org/821793002
      
      Cr-Commit-Position: refs/heads/master@{#309492}
      8fb7fbcb
    • blink-deps-roller's avatar
      Roll src/third_party/WebKit 6e7a766:55af1ae (svn 187624:187627) · 55decbcd
      blink-deps-roller authored
      Summary of changes available at:
      https://chromium.googlesource.com/chromium/blink/+log/6e7a766..55af1ae
      
      TBR=haraken@chromium.org,gavinp@chromium.org
      
      Review URL: https://codereview.chromium.org/824803002
      
      Cr-Commit-Position: refs/heads/master@{#309491}
      55decbcd
    • avi's avatar
      Make callers of CommandLine use it via the base:: namespace. · 9ab03720
      avi authored
      Covers courgette/, dbus/, device/, extensions/, gin/, google_apis/, and gpu/.
      
      BUG=422426
      TEST=none
      TBR=ben@chromium.org
      
      Review URL: https://codereview.chromium.org/819193002
      
      Cr-Commit-Position: refs/heads/master@{#309490}
      9ab03720
    • sullivan's avatar
      Implement ubertracing. · fdb146cf
      sullivan authored
      This is based on Nat's patch: https://codereview.chromium.org/441873007/
      
      Move timeline and importers to use telemetry.timeline.TraceData
      
      This (admittedly massive) patch actually gives us an ubertrace object: the
      TraceData. The key way to understand this CL is to read timeline/trace_data.py file,
      then read importer.py. The rest is cosmetic fallout from the signature changes.
      
      A TraceData contains the data from many tracers, and is always serializable. A
      TimelineModel is constructed from a single TraceData. Internally, a
      TraceData is an in memory version of json of the following form:
        { traceEvents: ...
          inspectorTimelineEvnets: ...
          tabIds: ...
        }
      
      Since a TraceData has all the tracer data, the model and importer system was
      updated so that instead of there being 1 importer per value, the importers
      instead indicate which part of the TraceData they can handle, if any.
      
      BUG=356763
      
      Review URL: https://codereview.chromium.org/805463002
      
      Cr-Commit-Position: refs/heads/master@{#309489}
      fdb146cf
    • dcheng's avatar
      Standardize usage of virtual/override/final specifiers in crypto/. · 0db63a93
      dcheng authored
      The Google C++ style guide states:
      
        Explicitly annotate overrides of virtual functions or virtual
        destructors with an override or (less frequently) final specifier.
        Older (pre-C++11) code will use the virtual keyword as an inferior
        alternative annotation. For clarity, use exactly one of override,
        final, or virtual when declaring an override.
      
      To better conform to these guidelines, the following constructs have
      been rewritten:
      
      - if a base class has a virtual destructor, then:
          virtual ~Foo();                   ->  ~Foo() override;
      - virtual void Foo() override;        ->  void Foo() override;
      - virtual void Foo() override final;  ->  void Foo() final;
      
      This patch was automatically generated. The clang plugin can generate
      fixit hints, which are suggested edits when it is 100% sure it knows how
      to fix a problem. The hints from the clang plugin were applied to the
      source tree using the tool in https://codereview.chromium.org/598073004.
      
      Several formatting edits by clang-format were manually reverted, due to
      mangling of some of the more complicate IPC macros.
      
      BUG=417463#
      
      Review URL: https://codereview.chromium.org/825503002
      
      Cr-Commit-Position: refs/heads/master@{#309488}
      0db63a93
    • dcheng's avatar
      Standardize usage of virtual/override/final specifiers in printing code. · 0f9f1d79
      dcheng authored
      The Google C++ style guide states:
      
        Explicitly annotate overrides of virtual functions or virtual
        destructors with an override or (less frequently) final specifier.
        Older (pre-C++11) code will use the virtual keyword as an inferior
        alternative annotation. For clarity, use exactly one of override,
        final, or virtual when declaring an override.
      
      To better conform to these guidelines, the following constructs have
      been rewritten:
      
      - if a base class has a virtual destructor, then:
          virtual ~Foo();                   ->  ~Foo() override;
      - virtual void Foo() override;        ->  void Foo() override;
      - virtual void Foo() override final;  ->  void Foo() final;
      
      This patch was automatically generated. The clang plugin can generate
      fixit hints, which are suggested edits when it is 100% sure it knows how
      to fix a problem. The hints from the clang plugin were applied to the
      source tree using the tool in https://codereview.chromium.org/598073004.
      
      Several formatting edits by clang-format were manually reverted, due to
      mangling of some of the more complicate IPC macros.
      
      BUG=417463
      
      Review URL: https://codereview.chromium.org/795043004
      
      Cr-Commit-Position: refs/heads/master@{#309487}
      0f9f1d79
    • dcheng's avatar
      Standardize usage of virtual/override/final specifiers in remoting/. · e3c0115c
      dcheng authored
      The Google C++ style guide states:
      
        Explicitly annotate overrides of virtual functions or virtual
        destructors with an override or (less frequently) final specifier.
        Older (pre-C++11) code will use the virtual keyword as an inferior
        alternative annotation. For clarity, use exactly one of override,
        final, or virtual when declaring an override.
      
      To better conform to these guidelines, the following constructs have
      been rewritten:
      
      - if a base class has a virtual destructor, then:
          virtual ~Foo();                   ->  ~Foo() override;
      - virtual void Foo() override;        ->  void Foo() override;
      - virtual void Foo() override final;  ->  void Foo() final;
      
      This patch was automatically generated. The clang plugin can generate
      fixit hints, which are suggested edits when it is 100% sure it knows how
      to fix a problem. The hints from the clang plugin were applied to the
      source tree using the tool in https://codereview.chromium.org/598073004.
      
      Several formatting edits by clang-format were manually reverted, due to
      mangling of some of the more complicate IPC macros.
      
      BUG=417463
      
      Review URL: https://codereview.chromium.org/823733002
      
      Cr-Commit-Position: refs/heads/master@{#309486}
      e3c0115c
    • avi's avatar
      Make callers of CommandLine use it via the base:: namespace. · 556c0502
      avi authored
      Covers chrome/browser/* from f on.
      
      BUG=422426
      TEST=none
      TBR=ben@chromium.org
      
      Review URL: https://codereview.chromium.org/816403003
      
      Cr-Commit-Position: refs/heads/master@{#309485}
      556c0502
    • pkotwicz's avatar
      Fix crash when the source browser window is deleted during a drag · 6b8237f5
      pkotwicz authored
      This CL makes Widget::RunShellDrag() and DesktopDragDropClientWin not crash if
      the browser window is deleted during a drag-drop operation. An extension can
      delete the browser window during the drag-drop operation.
      
      BUG=440534
      TEST=BookmarkBarViewTest22.*
      R=pkasting
      TBR=sky (The files in ui/views/widget are identical to the original CL)
      
      Review URL: https://codereview.chromium.org/819793002
      
      Cr-Commit-Position: refs/heads/master@{#309484}
      6b8237f5
    • dcheng's avatar
      Remove an empty destructor in tool/gn's LoaderTest. · 53b26086
      dcheng authored
      Review URL: https://codereview.chromium.org/818033005
      
      Cr-Commit-Position: refs/heads/master@{#309483}
      53b26086