summaryrefslogtreecommitdiffstats
path: root/components/breakpad
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-01 15:37:47 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-01 15:37:47 +0000
commite055be2497f5f5576b6dd78afecf78310682e541 (patch)
tree22ad43bc5051edcac30579660caa48f78bb136ae /components/breakpad
parent620bbbbf6976cb1f87f1582cae1a1657d0c8200f (diff)
downloadchromium_src-e055be2497f5f5576b6dd78afecf78310682e541.zip
chromium_src-e055be2497f5f5576b6dd78afecf78310682e541.tar.gz
chromium_src-e055be2497f5f5576b6dd78afecf78310682e541.tar.bz2
Move dependency on descriptors_android.h to breakpad client interface
BUG=247431 R=bauerb@chromium.org Review URL: https://codereview.chromium.org/20607004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215040 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/breakpad')
-rw-r--r--components/breakpad/breakpad_client.cc6
-rw-r--r--components/breakpad/breakpad_client.h5
2 files changed, 11 insertions, 0 deletions
diff --git a/components/breakpad/breakpad_client.cc b/components/breakpad/breakpad_client.cc
index 6921ec3..9deb13e 100644
--- a/components/breakpad/breakpad_client.cc
+++ b/components/breakpad/breakpad_client.cc
@@ -104,4 +104,10 @@ bool BreakpadClient::GetCollectStatsConsent() {
}
#endif
+#if defined(OS_ANDROID)
+int BreakpadClient::GetAndroidMinidumpDescriptor() {
+ return 0;
+}
+#endif
+
} // namespace breakpad
diff --git a/components/breakpad/breakpad_client.h b/components/breakpad/breakpad_client.h
index 9ce14bb..486db02 100644
--- a/components/breakpad/breakpad_client.h
+++ b/components/breakpad/breakpad_client.h
@@ -103,6 +103,11 @@ class BreakpadClient {
// Returns true if the user has given consent to collect stats.
virtual bool GetCollectStatsConsent();
#endif
+
+#if defined(OS_ANDROID)
+ // Returns the descriptor key of the android minidump global descriptor.
+ virtual int GetAndroidMinidumpDescriptor();
+#endif
};
} // namespace breakpad