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

Side by Side Diff: chrome/browser/net/passive_log_collector.cc

Issue 6142009: Upating the app, ceee, chrome, ipc, media, and net directories to use the correct lock.h file. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Unified patch updating all references to the new base/synchronization/lock.h Created 9 years, 11 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/browser/net/passive_log_collector.h" 5 #include "chrome/browser/net/passive_log_collector.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/lock.h"
11 #include "base/string_util.h" 10 #include "base/string_util.h"
12 #include "base/format_macros.h" 11 #include "base/format_macros.h"
13 #include "net/url_request/url_request_netlog_params.h" 12 #include "net/url_request/url_request_netlog_params.h"
14 13
15 namespace { 14 namespace {
16 15
17 // TODO(eroman): Do something with the truncation count. 16 // TODO(eroman): Do something with the truncation count.
18 17
19 const size_t kMaxNumEntriesPerLog = 30; 18 const size_t kMaxNumEntriesPerLog = 30;
20 19
(...skipping 558 matching lines...) Expand 10 before | Expand all | Expand 10 after
579 AddEntryToSourceInfo(entry, out_info); 578 AddEntryToSourceInfo(entry, out_info);
580 579
581 // If the request has ended, move it to the graveyard. 580 // If the request has ended, move it to the graveyard.
582 if (entry.type == net::NetLog::TYPE_DISK_CACHE_ENTRY && 581 if (entry.type == net::NetLog::TYPE_DISK_CACHE_ENTRY &&
583 entry.phase == net::NetLog::PHASE_END) { 582 entry.phase == net::NetLog::PHASE_END) {
584 return ACTION_MOVE_TO_GRAVEYARD; 583 return ACTION_MOVE_TO_GRAVEYARD;
585 } 584 }
586 585
587 return ACTION_NONE; 586 return ACTION_NONE;
588 } 587 }
OLDNEW
« no previous file with comments | « chrome/browser/net/chrome_net_log.cc ('k') | chrome/browser/net/sqlite_persistent_cookie_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698