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

Unified Diff: chrome/browser/ui/app_list/search/people/person.h

Issue 1925733005: Remove people search (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Deprecate people search actions and enum Created 4 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/ui/app_list/search/people/person.h
diff --git a/chrome/browser/ui/app_list/search/people/person.h b/chrome/browser/ui/app_list/search/people/person.h
deleted file mode 100644
index 1cf506829fb78b9cfb65700cac331839f6d26fda..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/app_list/search/people/person.h
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright 2013 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_UI_APP_LIST_SEARCH_PEOPLE_PERSON_H_
-#define CHROME_BROWSER_UI_APP_LIST_SEARCH_PEOPLE_PERSON_H_
-
-#include <memory>
-#include <string>
-
-#include "url/gurl.h"
-
-namespace base {
-class DictionaryValue;
-}
-
-namespace app_list {
-
-// Person holds information about a search result retrieved from the People
-// Search Google webservice.
-struct Person {
- // Parses the dictionary from the people search result and creates a person
- // object.
- static std::unique_ptr<Person> Create(const base::DictionaryValue& dict);
-
- Person();
- ~Person();
-
- std::unique_ptr<Person> Duplicate();
-
- // This is a unique id for this person. In the case of a result with an
- // associated Google account, this will always be the same as the owner id.
- // In case of non-Google results, this id is arbitrary but guaranteed to be
- // unique for this person search result.
- std::string id;
-
- // The Owner Id is a GAIA obfuscated id which can be used to identify a
- // Google contact.
- std::string owner_id;
-
- // Interaction rank is a number between 0.0-1.0 indicating how frequently
- // you interact with the person.
- double interaction_rank;
-
- std::string display_name;
- std::string email;
- GURL image_url;
-
-};
-
-} // namespace app_list
-
-#endif // CHROME_BROWSER_UI_APP_LIST_SEARCH_PEOPLE_PERSON_H_
« no previous file with comments | « chrome/browser/ui/app_list/search/people/people_result.cc ('k') | chrome/browser/ui/app_list/search/people/person.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698