summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authorakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-19 03:15:59 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-19 03:15:59 +0000
commit2041cf34db4b3b9e43f9c63a57975798c0677ad7 (patch)
tree5caa67abfd19b51f124c17ac0c6a68eca0d9e860 /webkit
parentcf03da1cccdc0bae0ced1dcf599c8a74324a1577 (diff)
downloadchromium_src-2041cf34db4b3b9e43f9c63a57975798c0677ad7.zip
chromium_src-2041cf34db4b3b9e43f9c63a57975798c0677ad7.tar.gz
chromium_src-2041cf34db4b3b9e43f9c63a57975798c0677ad7.tar.bz2
Pulled out Callback code into base/callback.h. This is the first step towards redoing the Callback interfaces.
Added and removed includes as needed. BUG=35223 TEST=trybots Review URL: http://codereview.chromium.org/646061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39419 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r--webkit/appcache/appcache_host.h2
-rw-r--r--webkit/appcache/appcache_host_unittest.cc1
-rw-r--r--webkit/appcache/appcache_response.h1
-rw-r--r--webkit/appcache/appcache_storage_impl.h1
-rw-r--r--webkit/glue/alt_error_page_resource_fetcher.cc1
-rw-r--r--webkit/glue/alt_error_page_resource_fetcher.h2
-rw-r--r--webkit/glue/cpp_bound_class.h2
-rw-r--r--webkit/glue/image_resource_fetcher.cc1
-rw-r--r--webkit/glue/image_resource_fetcher.h1
-rw-r--r--webkit/glue/media/buffered_data_source.cc7
-rw-r--r--webkit/glue/media/buffered_data_source.h7
-rw-r--r--webkit/glue/media/buffered_data_source_unittest.cc1
-rw-r--r--webkit/glue/media/simple_data_source_unittest.cc1
-rw-r--r--webkit/glue/resource_fetcher.h1
-rw-r--r--webkit/glue/resource_fetcher_unittest.cc1
-rw-r--r--webkit/glue/webmediaplayer_impl.cc1
-rw-r--r--webkit/tools/test_shell/accessibility_ui_element.cc1
-rw-r--r--webkit/tools/test_shell/simple_appcache_system.cc7
18 files changed, 27 insertions, 12 deletions
diff --git a/webkit/appcache/appcache_host.h b/webkit/appcache/appcache_host.h
index fe24b9b..bb3ef49 100644
--- a/webkit/appcache/appcache_host.h
+++ b/webkit/appcache/appcache_host.h
@@ -5,9 +5,9 @@
#ifndef WEBKIT_APPCACHE_APPCACHE_HOST_H_
#define WEBKIT_APPCACHE_APPCACHE_HOST_H_
+#include "base/callback.h"
#include "base/observer_list.h"
#include "base/ref_counted.h"
-#include "base/task.h"
#include "googleurl/src/gurl.h"
#include "testing/gtest/include/gtest/gtest_prod.h"
#include "webkit/appcache/appcache_group.h"
diff --git a/webkit/appcache/appcache_host_unittest.cc b/webkit/appcache/appcache_host_unittest.cc
index 687125b..a7f9d5d 100644
--- a/webkit/appcache/appcache_host_unittest.cc
+++ b/webkit/appcache/appcache_host_unittest.cc
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "base/callback.h"
#include "base/scoped_ptr.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "webkit/appcache/appcache.h"
diff --git a/webkit/appcache/appcache_response.h b/webkit/appcache/appcache_response.h
index 68538e7..45f2251 100644
--- a/webkit/appcache/appcache_response.h
+++ b/webkit/appcache/appcache_response.h
@@ -8,6 +8,7 @@
#include "base/compiler_specific.h"
#include "base/ref_counted.h"
#include "base/scoped_ptr.h"
+#include "base/task.h"
#include "googleurl/src/gurl.h"
#include "net/base/completion_callback.h"
#include "net/http/http_response_info.h"
diff --git a/webkit/appcache/appcache_storage_impl.h b/webkit/appcache/appcache_storage_impl.h
index 93391e9..9677801 100644
--- a/webkit/appcache/appcache_storage_impl.h
+++ b/webkit/appcache/appcache_storage_impl.h
@@ -11,6 +11,7 @@
#include <vector>
#include "base/file_path.h"
+#include "base/task.h"
#include "net/disk_cache/disk_cache.h"
#include "webkit/appcache/appcache_database.h"
#include "webkit/appcache/appcache_storage.h"
diff --git a/webkit/glue/alt_error_page_resource_fetcher.cc b/webkit/glue/alt_error_page_resource_fetcher.cc
index 341d752..4e1867d 100644
--- a/webkit/glue/alt_error_page_resource_fetcher.cc
+++ b/webkit/glue/alt_error_page_resource_fetcher.cc
@@ -4,6 +4,7 @@
#include "webkit/glue/alt_error_page_resource_fetcher.h"
+#include "base/callback.h"
#include "webkit/glue/resource_fetcher.h"
using WebKit::WebFrame;
diff --git a/webkit/glue/alt_error_page_resource_fetcher.h b/webkit/glue/alt_error_page_resource_fetcher.h
index 363931a..86671df 100644
--- a/webkit/glue/alt_error_page_resource_fetcher.h
+++ b/webkit/glue/alt_error_page_resource_fetcher.h
@@ -5,8 +5,8 @@
#ifndef WEBKIT_GLUE_ALT_ERROR_PAGE_RESOURCE_FETCHER_H_
#define WEBKIT_GLUE_ALT_ERROR_PAGE_RESOURCE_FETCHER_H_
+#include "base/callback.h"
#include "base/scoped_ptr.h"
-#include "base/task.h"
#include "googleurl/src/gurl.h"
#include "third_party/WebKit/WebKit/chromium/public/WebURLError.h"
diff --git a/webkit/glue/cpp_bound_class.h b/webkit/glue/cpp_bound_class.h
index afa4b8a..0a45c16 100644
--- a/webkit/glue/cpp_bound_class.h
+++ b/webkit/glue/cpp_bound_class.h
@@ -23,8 +23,8 @@
#include "webkit/glue/cpp_variant.h"
+#include "base/callback.h"
#include "base/scoped_ptr.h"
-#include "base/task.h"
namespace WebKit {
class WebFrame;
diff --git a/webkit/glue/image_resource_fetcher.cc b/webkit/glue/image_resource_fetcher.cc
index ad6dbdfd..ae16c03 100644
--- a/webkit/glue/image_resource_fetcher.cc
+++ b/webkit/glue/image_resource_fetcher.cc
@@ -4,6 +4,7 @@
#include "webkit/glue/image_resource_fetcher.h"
+#include "base/callback.h"
#include "base/gfx/size.h"
#include "third_party/WebKit/WebKit/chromium/public/WebFrame.h"
#include "webkit/glue/image_decoder.h"
diff --git a/webkit/glue/image_resource_fetcher.h b/webkit/glue/image_resource_fetcher.h
index 593b915..df94b54 100644
--- a/webkit/glue/image_resource_fetcher.h
+++ b/webkit/glue/image_resource_fetcher.h
@@ -6,6 +6,7 @@
#define WEBKIT_GLUE_IMAGE_RESOURCE_FETCHER_H_
#include "base/basictypes.h"
+#include "base/callback.h"
#include "webkit/glue/resource_fetcher.h"
class SkBitmap;
diff --git a/webkit/glue/media/buffered_data_source.cc b/webkit/glue/media/buffered_data_source.cc
index cfc2d7c..e46ed1c 100644
--- a/webkit/glue/media/buffered_data_source.cc
+++ b/webkit/glue/media/buffered_data_source.cc
@@ -1,7 +1,8 @@
-// Copyright (c) 2009 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.
+// Copyright (c) 2010 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 "base/callback.h"
#include "base/compiler_specific.h"
#include "base/message_loop.h"
#include "base/process_util.h"
diff --git a/webkit/glue/media/buffered_data_source.h b/webkit/glue/media/buffered_data_source.h
index 0972c2d..74813a9 100644
--- a/webkit/glue/media/buffered_data_source.h
+++ b/webkit/glue/media/buffered_data_source.h
@@ -1,6 +1,6 @@
-// Copyright (c) 2009 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.
+// Copyright (c) 2010 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.
#ifndef WEBKIT_GLUE_MEDIA_BUFFERED_DATA_SOURCE_H_
#define WEBKIT_GLUE_MEDIA_BUFFERED_DATA_SOURCE_H_
@@ -9,6 +9,7 @@
#include <string>
#include <vector>
+#include "base/callback.h"
#include "base/lock.h"
#include "base/scoped_ptr.h"
#include "base/timer.h"
diff --git a/webkit/glue/media/buffered_data_source_unittest.cc b/webkit/glue/media/buffered_data_source_unittest.cc
index 9b6151d..f20d1c1 100644
--- a/webkit/glue/media/buffered_data_source_unittest.cc
+++ b/webkit/glue/media/buffered_data_source_unittest.cc
@@ -4,6 +4,7 @@
#include <algorithm>
+#include "base/callback.h"
#include "base/format_macros.h"
#include "base/string_util.h"
#include "media/base/filters.h"
diff --git a/webkit/glue/media/simple_data_source_unittest.cc b/webkit/glue/media/simple_data_source_unittest.cc
index 9dc6b97..86f4439 100644
--- a/webkit/glue/media/simple_data_source_unittest.cc
+++ b/webkit/glue/media/simple_data_source_unittest.cc
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "base/callback.h"
#include "media/base/filters.h"
#include "media/base/mock_filter_host.h"
#include "media/base/mock_filters.h"
diff --git a/webkit/glue/resource_fetcher.h b/webkit/glue/resource_fetcher.h
index af4ec1b..75eb3ab 100644
--- a/webkit/glue/resource_fetcher.h
+++ b/webkit/glue/resource_fetcher.h
@@ -15,6 +15,7 @@
#include <string>
#include "base/basictypes.h"
+#include "base/callback.h"
#include "base/scoped_ptr.h"
#include "base/timer.h"
#include "googleurl/src/gurl.h"
diff --git a/webkit/glue/resource_fetcher_unittest.cc b/webkit/glue/resource_fetcher_unittest.cc
index 5eafd6b..b68f4c6 100644
--- a/webkit/glue/resource_fetcher_unittest.cc
+++ b/webkit/glue/resource_fetcher_unittest.cc
@@ -4,6 +4,7 @@
#include "webkit/glue/resource_fetcher.h"
+#include "base/callback.h"
#include "third_party/WebKit/WebKit/chromium/public/WebFrame.h"
#include "third_party/WebKit/WebKit/chromium/public/WebURLResponse.h"
#include "third_party/WebKit/WebKit/chromium/public/WebView.h"
diff --git a/webkit/glue/webmediaplayer_impl.cc b/webkit/glue/webmediaplayer_impl.cc
index d664f2b..da4339a 100644
--- a/webkit/glue/webmediaplayer_impl.cc
+++ b/webkit/glue/webmediaplayer_impl.cc
@@ -4,6 +4,7 @@
#include "webkit/glue/webmediaplayer_impl.h"
+#include "base/callback.h"
#include "base/command_line.h"
#include "media/base/media_format.h"
#include "media/base/media_switches.h"
diff --git a/webkit/tools/test_shell/accessibility_ui_element.cc b/webkit/tools/test_shell/accessibility_ui_element.cc
index ed23132..9ffb9d2 100644
--- a/webkit/tools/test_shell/accessibility_ui_element.cc
+++ b/webkit/tools/test_shell/accessibility_ui_element.cc
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "base/logging.h"
#include "third_party/WebKit/WebKit/chromium/public/WebAccessibilityObject.h"
#include "third_party/WebKit/WebKit/chromium/public/WebCString.h"
#include "third_party/WebKit/WebKit/chromium/public/WebString.h"
diff --git a/webkit/tools/test_shell/simple_appcache_system.cc b/webkit/tools/test_shell/simple_appcache_system.cc
index e493f87..b07313a 100644
--- a/webkit/tools/test_shell/simple_appcache_system.cc
+++ b/webkit/tools/test_shell/simple_appcache_system.cc
@@ -1,9 +1,10 @@
-// Copyright (c) 2009 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.
+// Copyright (c) 2010 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 "webkit/tools/test_shell/simple_appcache_system.h"
+#include "base/callback.h"
#include "base/lock.h"
#include "base/task.h"
#include "base/waitable_event.h"