Index: components/breakpad/app/breakpad_client.h |
diff --git a/components/breakpad/breakpad_client.h b/components/breakpad/app/breakpad_client.h |
similarity index 96% |
rename from components/breakpad/breakpad_client.h |
rename to components/breakpad/app/breakpad_client.h |
index 621ea1b2525dd7e3aee7b2e93a1c92b44db57790..6a514d00dfe6965cf53ac93748e60ca5c7899c2a 100644 |
--- a/components/breakpad/breakpad_client.h |
+++ b/components/breakpad/app/breakpad_client.h |
@@ -2,8 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef COMPONENTS_BREAKPAD_BREAKPAD_CLIENT_H_ |
-#define COMPONENTS_BREAKPAD_BREAKPAD_CLIENT_H_ |
+#ifndef COMPONENTS_BREAKPAD_APP_BREAKPAD_CLIENT_H_ |
+#define COMPONENTS_BREAKPAD_APP_BREAKPAD_CLIENT_H_ |
#include <string> |
@@ -33,8 +33,10 @@ class BreakpadClient; |
// breakpad code is called, and should stay alive throughout the entire runtime. |
void SetBreakpadClient(BreakpadClient* client); |
+#if defined(BREAKPAD_IMPLEMENTATION) |
// Breakpad's embedder API should only be used by breakpad. |
BreakpadClient* GetBreakpadClient(); |
+#endif |
// Interface that the embedder implements. |
class BreakpadClient { |
@@ -139,4 +141,4 @@ class BreakpadClient { |
} // namespace breakpad |
-#endif // COMPONENTS_BREAKPAD_BREAKPAD_CLIENT_H_ |
+#endif // COMPONENTS_BREAKPAD_APP_BREAKPAD_CLIENT_H_ |