tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

SandboxProfiler.cpp (833B)


      1 /* This Source Code Form is subject to the terms of the Mozilla Public
      2 * License, v. 2.0. If a copy of the MPL was not distributed with this
      3 * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
      4 
      5 #include "SandboxProfiler.h"
      6 
      7 namespace mozilla {
      8 
      9 /* static */
     10 void SandboxProfiler::ReportRequest(const void* top, uint64_t aId,
     11                                    const char* aOp, int aFlags,
     12                                    const char* aPath, const char* aPath2,
     13                                    pid_t aPid) {
     14  /*
     15   * Just an empty no op for gtest, otherwise we end up with linkage failure,
     16   * and adding the real SandboxProfiler.cpp to the gtest linkage breaks
     17   * because we want to keep separated symbols for uprofiler/uprofiler_initted
     18   * and gtest links all together.
     19   * */
     20 }
     21 
     22 }  // namespace mozilla