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

Side by Side Diff: chrome/browser/extensions/api/identity_private/identity_private_api.cc

Issue 469993006: Use a qualified path for chromium_strings, google_chrome_strings, and generated_resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 4 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/browser/extensions/api/identity_private/identity_private_api.h" 5 #include "chrome/browser/extensions/api/identity_private/identity_private_api.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/values.h" 9 #include "base/values.h"
10 #include "grit/generated_resources.h" 10 #include "chrome/grit/generated_resources.h"
11 #include "ui/base/l10n/l10n_util.h" 11 #include "ui/base/l10n/l10n_util.h"
12 12
13 namespace extensions { 13 namespace extensions {
14 14
15 IdentityPrivateGetStringsFunction::IdentityPrivateGetStringsFunction() {} 15 IdentityPrivateGetStringsFunction::IdentityPrivateGetStringsFunction() {}
16 16
17 IdentityPrivateGetStringsFunction::~IdentityPrivateGetStringsFunction() {} 17 IdentityPrivateGetStringsFunction::~IdentityPrivateGetStringsFunction() {}
18 18
19 bool IdentityPrivateGetStringsFunction::RunSync() { 19 bool IdentityPrivateGetStringsFunction::RunSync() {
20 base::DictionaryValue* dict = new base::DictionaryValue; 20 base::DictionaryValue* dict = new base::DictionaryValue;
21 SetResult(dict); 21 SetResult(dict);
22 22
23 dict->SetString( 23 dict->SetString(
24 "window-title", 24 "window-title",
25 l10n_util::GetStringUTF16(IDS_EXTENSION_PERMISSIONS_PROMPT_TITLE)); 25 l10n_util::GetStringUTF16(IDS_EXTENSION_PERMISSIONS_PROMPT_TITLE));
26 26
27 return true; 27 return true;
28 } 28 }
29 29
30 } // namespace extensions 30 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698