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

Side by Side Diff: chrome/browser/history/visit_log.cc

Issue 194067: Retry 25770 after fixing Valgrind issue.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 3 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
« no previous file with comments | « chrome/browser/history/visit_log.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/history/visit_log.h" 5 #include "chrome/browser/history/visit_log.h"
6 6
7 namespace history { 7 namespace history {
8 8
9 static VisitLog* g_visit_log = NULL; 9 static VisitLog* g_visit_log = NULL;
10 10
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 void InitVisitLog(VisitLog* vlog) { 46 void InitVisitLog(VisitLog* vlog) {
47 g_visit_log = vlog; 47 g_visit_log = vlog;
48 } 48 }
49 49
50 void AddEventToVisitLog(VisitLog::EventType event) { 50 void AddEventToVisitLog(VisitLog::EventType event) {
51 if (!g_visit_log) 51 if (!g_visit_log)
52 return; 52 return;
53 g_visit_log->AddEvent(event); 53 g_visit_log->AddEvent(event);
54 } 54 }
55 55
56 void ClearVisitLog() {
57 g_visit_log = NULL;
58 }
59
60
56 } // namespace history 61 } // namespace history
OLDNEW
« no previous file with comments | « chrome/browser/history/visit_log.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698