Commit 9a59bce0 authored by thestig@chromium.org's avatar thestig@chromium.org

Cleanup dom_ui_screenshot_source.

BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6334011

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72597 0039d316-1c4b-4281-b951-d872f2087c98
parent b6dbdc0d
// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/dom_ui/dom_ui_screenshot_source.h"
#include "base/callback.h"
#include "base/file_util.h"
#include "base/path_service.h"
#include "base/ref_counted_memory.h"
#include "base/task.h"
#include "base/threading/thread.h"
#include "base/synchronization/waitable_event.h"
#include "base/task.h"
#include "chrome/browser/browser_thread.h"
#include "chrome/common/chrome_paths.h"
#include "chrome/common/url_constants.h"
#include "gfx/codec/jpeg_codec.h"
#include "googleurl/src/gurl.h"
#include "third_party/skia/include/core/SkBitmap.h"
static const char kCurrentScreenshot[] = "current";
#if defined(OS_CHROMEOS)
......
// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
......@@ -6,13 +6,10 @@
#define CHROME_BROWSER_DOM_UI_DOM_UI_SCREENSHOT_SOURCE_H_
#include <string>
#include <utility>
#include <vector>
#include "base/basictypes.h"
#include "base/scoped_ptr.h"
#include "chrome/browser/dom_ui/chrome_url_data_manager.h"
#include "chrome/browser/dom_ui/html_dialog_ui.h"
// ScreenshotSource is the data source that serves screenshots (saved
// or current) to the bug report html ui
......@@ -34,7 +31,6 @@ class DOMUIScreenshotSource : public ChromeURLDataManager::DataSource {
private:
virtual ~DOMUIScreenshotSource();
// scoped_refptr<RefCountedBytes> current_screenshot_;
std::vector<unsigned char> current_screenshot_;
DISALLOW_COPY_AND_ASSIGN(DOMUIScreenshotSource);
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment