summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjoi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-03 14:54:21 +0000
committerjoi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-03 14:54:21 +0000
commit545ab7a9d35fe34c43ada1a0665f239de7fde86f (patch)
tree8dc69e988f1b5ae19524cfd29b58a20eea807134
parentc7fe376627c3f1a789630a256180f0a66cbccb2f (diff)
downloadchromium_src-545ab7a9d35fe34c43ada1a0665f239de7fde86f.zip
chromium_src-545ab7a9d35fe34c43ada1a0665f239de7fde86f.tar.gz
chromium_src-545ab7a9d35fe34c43ada1a0665f239de7fde86f.tar.bz2
Remove 'using' from browser_thread.h, and make things compile.
BUG=98716 Review URL: http://codereview.chromium.org/8438045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108462 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/autofill/autofill_manager.cc1
-rw-r--r--chrome/browser/download/download_item_unittest.cc2
-rw-r--r--chrome/browser/extensions/installed_loader.cc2
-rw-r--r--chrome/browser/extensions/unpacked_installer.cc2
-rw-r--r--chrome/browser/extensions/webstore_installer.cc2
-rw-r--r--chrome/browser/webdata/autocomplete_syncable_service.cc2
-rw-r--r--content/public/browser/browser_thread.h4
7 files changed, 11 insertions, 4 deletions
diff --git a/chrome/browser/autofill/autofill_manager.cc b/chrome/browser/autofill/autofill_manager.cc
index e5754a7..575407d 100644
--- a/chrome/browser/autofill/autofill_manager.cc
+++ b/chrome/browser/autofill/autofill_manager.cc
@@ -57,6 +57,7 @@
#include "webkit/glue/form_field.h"
using base::TimeTicks;
+using content::BrowserThread;
using switches::kEnableAutofillFeedback;
using webkit_glue::FormData;
using webkit_glue::FormDataPredictions;
diff --git a/chrome/browser/download/download_item_unittest.cc b/chrome/browser/download/download_item_unittest.cc
index c2757e9..45f634b 100644
--- a/chrome/browser/download/download_item_unittest.cc
+++ b/chrome/browser/download/download_item_unittest.cc
@@ -15,6 +15,8 @@
#include "content/test/test_browser_thread.h"
#include "testing/gtest/include/gtest/gtest.h"
+using content::BrowserThread;
+
DownloadId::Domain kValidDownloadItemIdDomain = "valid DownloadId::Domain";
class DownloadItemTest : public testing::Test {
diff --git a/chrome/browser/extensions/installed_loader.cc b/chrome/browser/extensions/installed_loader.cc
index 20bd824..43a1304 100644
--- a/chrome/browser/extensions/installed_loader.cc
+++ b/chrome/browser/extensions/installed_loader.cc
@@ -19,6 +19,8 @@
#include "content/public/browser/notification_service.h"
#include "content/browser/user_metrics.h"
+using content::BrowserThread;
+
namespace errors = extension_manifest_errors;
namespace {
diff --git a/chrome/browser/extensions/unpacked_installer.cc b/chrome/browser/extensions/unpacked_installer.cc
index b747035..b8c240d 100644
--- a/chrome/browser/extensions/unpacked_installer.cc
+++ b/chrome/browser/extensions/unpacked_installer.cc
@@ -13,6 +13,8 @@
#include "chrome/common/extensions/extension.h"
#include "chrome/common/extensions/extension_file_util.h"
+using content::BrowserThread;
+
namespace {
// Manages an ExtensionInstallUI for a particular extension.
diff --git a/chrome/browser/extensions/webstore_installer.cc b/chrome/browser/extensions/webstore_installer.cc
index 3939438..6b8f00f 100644
--- a/chrome/browser/extensions/webstore_installer.cc
+++ b/chrome/browser/extensions/webstore_installer.cc
@@ -30,6 +30,8 @@
#include "googleurl/src/gurl.h"
#include "net/base/escape.h"
+using content::BrowserThread;
+
namespace {
const char kInvalidIdError[] = "Invalid id";
diff --git a/chrome/browser/webdata/autocomplete_syncable_service.cc b/chrome/browser/webdata/autocomplete_syncable_service.cc
index ed11c21..ae054ca 100644
--- a/chrome/browser/webdata/autocomplete_syncable_service.cc
+++ b/chrome/browser/webdata/autocomplete_syncable_service.cc
@@ -19,6 +19,8 @@
#include "content/public/browser/notification_service.h"
#include "net/base/escape.h"
+using content::BrowserThread;
+
namespace {
const char kAutofillEntryNamespaceTag[] = "autofill_entry|";
diff --git a/content/public/browser/browser_thread.h b/content/public/browser/browser_thread.h
index 001a166..66dc009 100644
--- a/content/public/browser/browser_thread.h
+++ b/content/public/browser/browser_thread.h
@@ -251,8 +251,4 @@ class CONTENT_EXPORT DeprecatedBrowserThread : public BrowserThread {
} // namespace content
-// TODO(joi): Remove these ASAP.
-using content::BrowserThread;
-using content::DeprecatedBrowserThread;
-
#endif // CONTENT_PUBLIC_BROWSER_BROWSER_THREAD_H_