summaryrefslogtreecommitdiffstats
path: root/base/metrics
diff options
context:
space:
mode:
authorIain Merrick <husky@google.com>2010-11-01 12:43:43 +0000
committerIain Merrick <husky@google.com>2010-11-03 12:36:26 +0000
commit2255f234e3edbf06b52de2ab4329d1564ef8efb0 (patch)
tree1446ac1c01dc5d12e41c19af6b99b3a4702d8134 /base/metrics
parent731df977c0511bca2206b5f333555b1205ff1f43 (diff)
downloadexternal_chromium-2255f234e3edbf06b52de2ab4329d1564ef8efb0.zip
external_chromium-2255f234e3edbf06b52de2ab4329d1564ef8efb0.tar.gz
external_chromium-2255f234e3edbf06b52de2ab4329d1564ef8efb0.tar.bz2
Merge Chromium at r63472 : Fix conflicts.
SharedMemory added to stats_table.cc, duplicating Android change. http://src.chromium.org/viewvc/chrome?view=rev&revision=62510 chrome/browser/guid.h added to chrome/browser/autofill: http://src.chromium.org/viewvc/chrome?view=rev&revision=63173 chrome_thread.h renamed to browser_thread.h: http://src.chromium.org/viewvc/chrome?view=rev&revision=62286 DnsRRResolverWorker substantially overhauled: http://src.chromium.org/viewvc/chrome?view=rev&revision=61071 X509 certificates added for OpenSSL (replacing old Android hacks): http://src.chromium.org/viewvc/chrome?view=rev&revision=61955 OpenSSL now available in Chrome (previously enabled for Android only): http://src.chromium.org/viewvc/chrome?view=rev&revision=60936 Change-Id: I42e4fefcdabd996cb3c173dc412318b8c5ee20e2
Diffstat (limited to 'base/metrics')
-rw-r--r--base/metrics/stats_table.cc27
1 files changed, 3 insertions, 24 deletions
diff --git a/base/metrics/stats_table.cc b/base/metrics/stats_table.cc
index 7632733..261f533 100644
--- a/base/metrics/stats_table.cc
+++ b/base/metrics/stats_table.cc
@@ -106,13 +106,7 @@ class StatsTable::Private {
static Private* New(const std::string& name, int size,
int max_threads, int max_counters);
-<<<<<<< HEAD:base/stats_table.cc
-#ifndef ANDROID
- base::SharedMemory* shared_memory() { return &shared_memory_; }
-#endif
-=======
SharedMemory* shared_memory() { return &shared_memory_; }
->>>>>>> chromium.org at r63472:base/metrics/stats_table.cc
// Accessors for our header pointers
TableHeader* table_header() const { return table_header_; }
@@ -152,14 +146,7 @@ class StatsTable::Private {
// Initializes our in-memory pointers into a pre-created StatsTable.
void ComputeMappedPointers(void* memory);
-<<<<<<< HEAD:base/stats_table.cc
-#ifndef ANDROID
- base::SharedMemory shared_memory_;
-#endif
-
-=======
SharedMemory shared_memory_;
->>>>>>> chromium.org at r63472:base/metrics/stats_table.cc
TableHeader* table_header_;
char* thread_names_table_;
PlatformThreadId* thread_tid_table_;
@@ -169,22 +156,14 @@ class StatsTable::Private {
};
// static
-<<<<<<< HEAD:base/stats_table.cc
-StatsTablePrivate* StatsTablePrivate::New(const std::string& name,
- int size,
- int max_threads,
- int max_counters) {
-#ifdef ANDROID
- return NULL;
-#else
- scoped_ptr<StatsTablePrivate> priv(new StatsTablePrivate());
-=======
StatsTable::Private* StatsTable::Private::New(const std::string& name,
int size,
int max_threads,
int max_counters) {
+#ifdef ANDROID
+ return NULL;
+#else
scoped_ptr<Private> priv(new Private());
->>>>>>> chromium.org at r63472:base/metrics/stats_table.cc
if (!priv->shared_memory_.Create(name, false, true, size))
return NULL;
if (!priv->shared_memory_.Map(size))