summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-24 17:07:03 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-24 17:07:03 +0000
commit70c334bc7301f906d6c551a49f54fc57cbbd72f0 (patch)
tree1123e2e8bcd28c39e2692f8e74ace1781293be46
parentc583f5f49d0de33a5445999691d859092a6f8c4b (diff)
downloadchromium_src-70c334bc7301f906d6c551a49f54fc57cbbd72f0.zip
chromium_src-70c334bc7301f906d6c551a49f54fc57cbbd72f0.tar.gz
chromium_src-70c334bc7301f906d6c551a49f54fc57cbbd72f0.tar.bz2
Remove logging that's no longer needed.
BUG=95573 TEST=none Review URL: http://codereview.chromium.org/8384001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106933 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/ui/cocoa/tab_contents/web_drag_source.mm11
1 files changed, 0 insertions, 11 deletions
diff --git a/chrome/browser/ui/cocoa/tab_contents/web_drag_source.mm b/chrome/browser/ui/cocoa/tab_contents/web_drag_source.mm
index a282fab..fbd762a 100644
--- a/chrome/browser/ui/cocoa/tab_contents/web_drag_source.mm
+++ b/chrome/browser/ui/cocoa/tab_contents/web_drag_source.mm
@@ -7,18 +7,15 @@
#include <sys/param.h>
#include "base/file_path.h"
-#include "base/mac/crash_logging.h"
#include "base/string_util.h"
#include "base/sys_string_conversions.h"
#include "base/task.h"
#include "base/threading/thread.h"
#include "base/threading/thread_restrictions.h"
#include "base/utf_string_conversions.h"
-#import "chrome/app/breakpad_mac.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/download/download_util.h"
#include "chrome/browser/tab_contents/tab_contents_view_mac.h"
-#include "content/browser/download/download_manager.h"
#include "content/browser/download/drag_download_file.h"
#include "content/browser/download/drag_download_util.h"
#include "content/browser/renderer_host/render_view_host.h"
@@ -26,7 +23,6 @@
#include "content/public/common/url_constants.h"
#include "net/base/file_stream.h"
#include "net/base/net_util.h"
-#import "third_party/mozilla/NSPasteboard+Utils.h"
#include "ui/gfx/mac/nsimage_cache.h"
#include "webkit/glue/webdropdata.h"
@@ -35,7 +31,6 @@ using base::SysUTF8ToNSString;
using base::SysUTF16ToNSString;
using net::FileStream;
-
namespace {
// An unofficial standard pasteboard title type to be provided alongside the
@@ -57,12 +52,6 @@ FilePath FilePathFromFilename(const string16& filename) {
// TODO(viettrungluu): Refactor to make it common across platforms,
// and move it somewhere sensible.
FilePath GetFileNameFromDragData(const WebDropData& drop_data) {
- // Set a breakpad key for the scope of this function to help debug
- // http://crbug.com/78782
- static NSString* const kUrlKey = @"drop_data_url";
- NSString* value = SysUTF8ToNSString(drop_data.url.spec());
- base::mac::ScopedCrashKey key(kUrlKey, value);
-
// Images without ALT text will only have a file extension so we need to
// synthesize one from the provided extension and URL.
FilePath file_name(FilePathFromFilename(drop_data.file_description_filename));