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

Unified Diff: chrome/browser/autocomplete/builtin_provider.h

Issue 1191373002: Componentize AutocompleteController and its supporting cast (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@prep_builtin_provider_for_c14n
Patch Set: Rebase Created 5 years, 6 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/autocomplete/builtin_provider.h
diff --git a/chrome/browser/autocomplete/builtin_provider.h b/chrome/browser/autocomplete/builtin_provider.h
deleted file mode 100644
index e6a099bc01a7036c302f502acd1283fc01ae1ce9..0000000000000000000000000000000000000000
--- a/chrome/browser/autocomplete/builtin_provider.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2012 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 CHROME_BROWSER_AUTOCOMPLETE_BUILTIN_PROVIDER_H_
-#define CHROME_BROWSER_AUTOCOMPLETE_BUILTIN_PROVIDER_H_
-
-#include <vector>
-
-#include "base/basictypes.h"
-#include "base/compiler_specific.h"
-#include "base/strings/string16.h"
-#include "components/omnibox/autocomplete_match.h"
-#include "components/omnibox/autocomplete_provider.h"
-
-class AutocompleteProviderClient;
-
-// This is the provider for built-in URLs, such as about:settings and
-// chrome://version.
-class BuiltinProvider : public AutocompleteProvider {
- public:
- explicit BuiltinProvider(AutocompleteProviderClient* client);
-
- // AutocompleteProvider:
- void Start(const AutocompleteInput& input, bool minimal_changes) override;
-
- private:
- ~BuiltinProvider() override;
-
- typedef std::vector<base::string16> Builtins;
-
- static const int kRelevance;
-
- void AddMatch(const base::string16& match_string,
- const base::string16& inline_completion,
- const ACMatchClassifications& styles);
-
- AutocompleteProviderClient* client_;
- Builtins builtins_;
-
- DISALLOW_COPY_AND_ASSIGN(BuiltinProvider);
-};
-
-#endif // CHROME_BROWSER_AUTOCOMPLETE_BUILTIN_PROVIDER_H_
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_provider_unittest.cc ('k') | chrome/browser/autocomplete/builtin_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698