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

Unified Diff: chrome/browser/extensions/api/omnibox/omnibox_api.cc

Issue 10265022: Moving extensions inside chrome/browser/extensions/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-synced with the current trunk Created 8 years, 8 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: chrome/browser/extensions/api/omnibox/omnibox_api.cc
diff --git a/chrome/browser/extensions/extension_omnibox_api.cc b/chrome/browser/extensions/api/omnibox/omnibox_api.cc
similarity index 98%
rename from chrome/browser/extensions/extension_omnibox_api.cc
rename to chrome/browser/extensions/api/omnibox/omnibox_api.cc
index a83e57707820e967336de7d5a8324590b2567b19..90dcf698b882ee62eda14128e6a388ca28ad6d04 100644
--- a/chrome/browser/extensions/extension_omnibox_api.cc
+++ b/chrome/browser/extensions/api/omnibox/omnibox_api.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/extensions/extension_omnibox_api.h"
+#include "chrome/browser/extensions/api/omnibox/omnibox_api.h"
#include "base/json/json_writer.h"
#include "base/lazy_instance.h"
@@ -25,7 +25,9 @@ const char kOnInputStarted[] = "omnibox.onInputStarted";
const char kOnInputChanged[] = "omnibox.onInputChanged";
const char kOnInputEntered[] = "omnibox.onInputEntered";
const char kOnInputCancelled[] = "omnibox.onInputCancelled";
-}; // namespace events
+} // namespace events
+
+namespace extensions {
namespace {
const char kDescriptionStylesOrderError[] =
@@ -61,7 +63,7 @@ const ExtensionOmniboxSuggestion* GetDefaultSuggestionForExtension(
profile->GetExtensionService()->GetPropertyBag(extension));
}
-}; // namespace
+} // namespace
// static
void ExtensionOmniboxEventRouter::OnInputStarted(
@@ -295,3 +297,5 @@ void LaunchAppFromOmnibox(const AutocompleteMatch& match,
Browser::OpenApplication(profile, extension, launch_container, GURL(),
disposition);
}
+
+} // namespace extensions
« no previous file with comments | « chrome/browser/extensions/api/omnibox/omnibox_api.h ('k') | chrome/browser/extensions/api/omnibox/omnibox_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698