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

Side by Side Diff: chrome/common/automation_id.cc

Issue 15981010: Use a direct include of strings headers in chrome/common/, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/common/badge_util.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/common/automation_id.h" 5 #include "chrome/common/automation_id.h"
6 6
7 #include "base/stringprintf.h" 7 #include "base/strings/stringprintf.h"
8 #include "base/values.h" 8 #include "base/values.h"
9 9
10 using base::DictionaryValue; 10 using base::DictionaryValue;
11 using base::Value; 11 using base::Value;
12 12
13 // static 13 // static
14 bool AutomationId::FromValue( 14 bool AutomationId::FromValue(
15 Value* value, AutomationId* id, std::string* error) { 15 Value* value, AutomationId* id, std::string* error) {
16 DictionaryValue* dict; 16 DictionaryValue* dict;
17 if (!value->GetAsDictionary(&dict)) { 17 if (!value->GetAsDictionary(&dict)) {
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 return type_ != kTypeInvalid; 66 return type_ != kTypeInvalid;
67 } 67 }
68 68
69 AutomationId::Type AutomationId::type() const { 69 AutomationId::Type AutomationId::type() const {
70 return type_; 70 return type_;
71 } 71 }
72 72
73 const std::string& AutomationId::id() const { 73 const std::string& AutomationId::id() const {
74 return id_; 74 return id_;
75 } 75 }
OLDNEW
« no previous file with comments | « no previous file | chrome/common/badge_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698