aboutsummaryrefslogtreecommitdiff
path: root/src/client/mac/sender
diff options
context:
space:
mode:
authorqsr@chromium.org <qsr@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2011-10-11 14:40:57 +0000
committerqsr@chromium.org <qsr@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2011-10-11 14:40:57 +0000
commit0775bfd7abf070947663dcb2659feb443564a0cb (patch)
tree71c6922dd57010d7fc681eaa849a883686a44380 /src/client/mac/sender
parent Handle ios dump. (diff)
downloadbreakpad-0775bfd7abf070947663dcb2659feb443564a0cb.tar.xz
Extract constants from Breakpad.h.
This is done to allow ios implementation to use the same constants. Review URL: http://breakpad.appspot.com/311001 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@856 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/mac/sender')
-rw-r--r--src/client/mac/sender/crash_report_sender.h2
-rw-r--r--src/client/mac/sender/crash_report_sender.m12
-rw-r--r--src/client/mac/sender/uploader.h1
-rw-r--r--src/client/mac/sender/uploader.m1
4 files changed, 8 insertions, 8 deletions
diff --git a/src/client/mac/sender/crash_report_sender.h b/src/client/mac/sender/crash_report_sender.h
index cff83fb4..6a29d48a 100644
--- a/src/client/mac/sender/crash_report_sender.h
+++ b/src/client/mac/sender/crash_report_sender.h
@@ -32,7 +32,7 @@
// It will perform throttling based on the parameters passed to it and will
// prompt the user to send the minidump.
-#include <Foundation/Foundation.h>
+#import <Cocoa/Cocoa.h>
#include "client/mac/sender/uploader.h"
#import "GTMDefines.h"
diff --git a/src/client/mac/sender/crash_report_sender.m b/src/client/mac/sender/crash_report_sender.m
index 155a9bf4..3197007a 100644
--- a/src/client/mac/sender/crash_report_sender.m
+++ b/src/client/mac/sender/crash_report_sender.m
@@ -27,17 +27,17 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#import <pwd.h>
-#import <sys/stat.h>
-#import <unistd.h>
+#import "client/mac/sender/crash_report_sender.h"
#import <Cocoa/Cocoa.h>
+#import <pwd.h>
+#import <sys/stat.h>
#import <SystemConfiguration/SystemConfiguration.h>
+#import <unistd.h>
-#import "common/mac/HTTPMultipartUpload.h"
-
-#import "crash_report_sender.h"
+#import "client/mac/Framework/BreakpadDefines.h"
#import "common/mac/GTMLogger.h"
+#import "common/mac/HTTPMultipartUpload.h"
#define kLastSubmission @"LastSubmission"
diff --git a/src/client/mac/sender/uploader.h b/src/client/mac/sender/uploader.h
index 653bfacd..af1c19fc 100644
--- a/src/client/mac/sender/uploader.h
+++ b/src/client/mac/sender/uploader.h
@@ -34,7 +34,6 @@
#include <Foundation/Foundation.h>
-#include "client/mac/Framework/Breakpad.h"
#import "common/mac/GTMDefines.h"
#define kClientIdPreferenceKey @"clientid"
diff --git a/src/client/mac/sender/uploader.m b/src/client/mac/sender/uploader.m
index 45d98a54..754ba779 100644
--- a/src/client/mac/sender/uploader.m
+++ b/src/client/mac/sender/uploader.m
@@ -35,6 +35,7 @@
#import "common/mac/HTTPMultipartUpload.h"
+#import "client/mac/Framework/BreakpadDefines.h"
#import "client/mac/sender/uploader.h"
#import "common/mac/GTMLogger.h"