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

Side by Side Diff: chrome/browser/chromeos/drive/logging.cc

Issue 15798019: Use a direct include of strings headers in chrome/browser/chromeos/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/chromeos/drive/logging.h" 5 #include "chrome/browser/chromeos/drive/logging.h"
6 6
7 #include "base/lazy_instance.h" 7 #include "base/lazy_instance.h"
8 #include "base/stringprintf.h" 8 #include "base/strings/stringprintf.h"
9 #include "chrome/browser/google_apis/event_logger.h" 9 #include "chrome/browser/google_apis/event_logger.h"
10 10
11 namespace drive { 11 namespace drive {
12 namespace util { 12 namespace util {
13 namespace { 13 namespace {
14 14
15 static base::LazyInstance<google_apis::EventLogger> g_logger = 15 static base::LazyInstance<google_apis::EventLogger> g_logger =
16 LAZY_INSTANCE_INITIALIZER; 16 LAZY_INSTANCE_INITIALIZER;
17 17
18 } // namespace 18 } // namespace
(...skipping 12 matching lines...) Expand all
31 ptr->Log("%s", what.c_str()); 31 ptr->Log("%s", what.c_str());
32 } 32 }
33 33
34 std::vector<google_apis::EventLogger::Event> GetLogHistory() { 34 std::vector<google_apis::EventLogger::Event> GetLogHistory() {
35 google_apis::EventLogger* ptr = g_logger.Pointer(); 35 google_apis::EventLogger* ptr = g_logger.Pointer();
36 return ptr->GetHistory(); 36 return ptr->GetHistory();
37 } 37 }
38 38
39 } // namespace util 39 } // namespace util
40 } // namespace drive 40 } // namespace drive
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/drive/job_queue.cc ('k') | chrome/browser/chromeos/drive/resource_entry_conversion.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698