Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(874)

Unified Diff: extensions/browser/view_type_utils.cc

Issue 13375017: Move the ViewType enum to extensions\common. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: extensions/browser/view_type_utils.cc
===================================================================
--- extensions/browser/view_type_utils.cc (revision 191609)
+++ extensions/browser/view_type_utils.cc (working copy)
@@ -2,14 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/view_type_utils.h"
+#include "extensions/browser/view_type_utils.h"
#include "base/lazy_instance.h"
#include "content/public/browser/web_contents.h"
using content::WebContents;
-namespace chrome {
+namespace extensions {
namespace {
@@ -38,8 +38,7 @@
}
void SetViewType(WebContents* tab, ViewType type) {
- tab->SetUserData(&kViewTypeUserDataKey,
- new ViewTypeUserData(type));
+ tab->SetUserData(&kViewTypeUserDataKey, new ViewTypeUserData(type));
}
} // namespace chrome

Powered by Google App Engine
This is Rietveld 408576698