Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Side by Side Diff: third_party/libjingle/overrides/talk/base/logging.cc

Issue 15741003: Moving WebRTC logging related files from content to chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed some errors. Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "third_party/libjingle/overrides/talk/base/logging.h" 5 #include "third_party/libjingle/overrides/talk/base/logging.h"
6 6
7 #if defined(OS_MACOSX) && !defined(OS_IOS) 7 #if defined(OS_MACOSX) && !defined(OS_IOS)
8 #include <CoreServices/CoreServices.h> 8 #include <CoreServices/CoreServices.h>
9 #endif // OS_MACOSX 9 #endif // OS_MACOSX
10 10
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 base::subtle::NoBarrier_CompareAndSwap(&g_init_logging_delegate_thread_id, 0, 279 base::subtle::NoBarrier_CompareAndSwap(&g_init_logging_delegate_thread_id, 0,
280 static_cast<base::subtle::Atomic32>(base::PlatformThread::CurrentId())); 280 static_cast<base::subtle::Atomic32>(base::PlatformThread::CurrentId()));
281 DCHECK_EQ(g_init_logging_delegate_thread_id, 281 DCHECK_EQ(g_init_logging_delegate_thread_id,
282 base::PlatformThread::CurrentId()); 282 base::PlatformThread::CurrentId());
283 #endif 283 #endif
284 CHECK(!g_logging_delegate); 284 CHECK(!g_logging_delegate);
285 CHECK(delegate); 285 CHECK(delegate);
286 g_logging_delegate = delegate; 286 g_logging_delegate = delegate;
287 } 287 }
288 288
289 void InitDiagnosticLoggingInEmbedder(const std::string& app_session_id,
290 const std::string& app_url) {
291 if (g_logging_delegate)
292 g_logging_delegate->InitLogging(app_session_id, app_url);
293 }
294
289 } // namespace talk_base 295 } // namespace talk_base
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698