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

Side by Side Diff: chrome/browser/browser_about_handler.cc

Issue 8437002: Move BrowserThread to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: A few updates. Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/browser_about_handler.h" 5 #include "chrome/browser/browser_about_handler.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 #elif defined(OS_LINUX) 83 #elif defined(OS_LINUX)
84 #include "content/browser/zygote_host_linux.h" 84 #include "content/browser/zygote_host_linux.h"
85 #endif 85 #endif
86 86
87 #if defined(USE_TCMALLOC) 87 #if defined(USE_TCMALLOC)
88 #include "third_party/tcmalloc/chromium/src/google/malloc_extension.h" 88 #include "third_party/tcmalloc/chromium/src/google/malloc_extension.h"
89 #endif 89 #endif
90 90
91 using base::Time; 91 using base::Time;
92 using base::TimeDelta; 92 using base::TimeDelta;
93 using content::BrowserThread;
93 94
94 #if defined(USE_TCMALLOC) 95 #if defined(USE_TCMALLOC)
95 // static 96 // static
96 AboutTcmallocOutputs* AboutTcmallocOutputs::GetInstance() { 97 AboutTcmallocOutputs* AboutTcmallocOutputs::GetInstance() {
97 return Singleton<AboutTcmallocOutputs>::get(); 98 return Singleton<AboutTcmallocOutputs>::get();
98 } 99 }
99 100
100 AboutTcmallocOutputs::AboutTcmallocOutputs() {} 101 AboutTcmallocOutputs::AboutTcmallocOutputs() {}
101 102
102 AboutTcmallocOutputs::~AboutTcmallocOutputs() {} 103 AboutTcmallocOutputs::~AboutTcmallocOutputs() {}
(...skipping 1526 matching lines...) Expand 10 before | Expand all | Expand 10 after
1629 return false; 1630 return false;
1630 } 1631 }
1631 1632
1632 std::vector<std::string> ChromePaths() { 1633 std::vector<std::string> ChromePaths() {
1633 std::vector<std::string> paths; 1634 std::vector<std::string> paths;
1634 paths.reserve(arraysize(kChromePaths)); 1635 paths.reserve(arraysize(kChromePaths));
1635 for (size_t i = 0; i < arraysize(kChromePaths); i++) 1636 for (size_t i = 0; i < arraysize(kChromePaths); i++)
1636 paths.push_back(kChromePaths[i]); 1637 paths.push_back(kChromePaths[i]);
1637 return paths; 1638 return paths;
1638 } 1639 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698